StratifiedRandomGrid1D¶
- class kgpy.grid.StratifiedRandomGrid1D(min=<Quantity 0.>, max=<Quantity 1.>, num_samples=1, axis=-1)¶
Bases:
RegularGrid1D- __init__(min=<Quantity 0.>, max=<Quantity 1.>, num_samples=1, axis=-1)¶
Attributes
Methods
__init__([min, max, num_samples, axis])copy()- rtype
typing.TypeVar(CopyableT, bound= Copyable)
- rtype
typing.TypeVar(CopyableT, bound= Copyable)
mesh(shape, new_axes)- rtype
perturbation(shape)- rtype
Inheritance Diagram
- copy()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- copy_shallow()¶
- Return type
typing.TypeVar(CopyableT, bound= Copyable)- Parameters
self (CopyableT) –
- mesh(shape, new_axes)¶
- Return type
- Parameters
- perturbation(shape)¶
- Return type
- Parameters
-
max:
astropy.units.Quantity= <Quantity 1.>¶
-
min:
astropy.units.Quantity= <Quantity 0.>¶