LinearDimension

class csdmpy.LinearDimension(count, increment, complex_fft=False, **kwargs)[source]

Bases: BaseQuantitativeDimension

LinearDimension class.

Generates an object representing a physical dimension whose coordinates are uniformly sampled along a grid dimension. See LinearDimension for details.

property complex_fft

If True, orders the coordinates according to FFT output order.

property coordinates

Return the coordinates along the dimensions.

copy_metadata(obj)[source]

Copy LinearDimension metadata.

property count

Total number of points along the linear dimension.

dict()[source]

Return the LinearDimension as a python dictionary.

get_nmr_reference_offset()[source]

Calculate reference offset for NMR datasets.

property increment

Increment along the linear dimension.

reciprocal_coordinates()[source]

Return reciprocal coordinates assuming Nyquist-Shannon theorem.

reciprocal_increment()[source]

Return reciprocal increment assuming Nyquist-Shannon theorem.

property type

Return the type of the dimension.