pyrokinetics.units.UnitSpline#
- class pyrokinetics.units.UnitSpline(x, y)[source]#
Bases:
object
Unit-aware wrapper classes for 1D splines.
- Parameters:
x (
Arraylike
) – x-coordinates to pass to SciPy splines, with units.y (
ArrayLike
) – y-coordinates to pass to SciPy splines, with units.
- __init__(x, y)[source]#
- Parameters:
x (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])
y (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])
Methods
__init__
(x, y)