Remove unused class Tabulated2D (#3818)

This commit is contained in:
Jonathan Shimwell 2026-02-21 16:00:22 +01:00 committed by GitHub
parent 53ce1910f9
commit 153281a490
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,24 +225,3 @@ class Evaluation:
self.target['mass_number'],
self.target['isomeric_state'])
class Tabulated2D:
"""Metadata for a two-dimensional function.
This is a dummy class that is not really used other than to store the
interpolation information for a two-dimensional function. Once we refactor
to adopt GNDS-like data containers, this will probably be removed or
extended.
Parameters
----------
breakpoints : Iterable of int
Breakpoints for interpolation regions
interpolation : Iterable of int
Interpolation scheme identification number, e.g., 3 means y is linear in
ln(x).
"""
def __init__(self, breakpoints, interpolation):
self.breakpoints = breakpoints
self.interpolation = interpolation