kspace.base_field.BaseField#
- class kspace.base_field.BaseField(left_edge, right_edge, ddims)[source]#
Bases:
objectBase class holding the grid geometry shared by all field types: the box edges, cell spacing, real-space coordinate arrays, and Fourier wavenumber arrays.
- Parameters:
left_edge (array-like) – The lower edge of the box [kpc] for each of the dimensions.
right_edge (array-like) – The upper edge of the box [kpc] for each of the dimensions.
ddims (array-like) – The number of grids in each of the axes.
Methods
__init__(left_edge, right_edge, ddims)