LinearDimensionΒΆ

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

Bases: csdmpy.dimensions.quantitative.BaseQuantitativeDimension

LinearDimension class.

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

property absolute_coordinatesΒΆ

Return the absolute coordinates along the dimensions.

property axis_labelΒΆ

Return a formatted string for displaying label along the dimension axis.

property complex_fftΒΆ

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

property coordinatesΒΆ

Return the coordinates along the dimensions.

copy()[source]ΒΆ

Return a copy of the object.

property countΒΆ

Total number of points along the linear dimension.

property data_structureΒΆ

Json serialized string describing the LinearDimension class instance.

dict()[source]ΒΆ

Return the LinearDimension as a python dictionary.

property incrementΒΆ

Increment along the linear dimension.

reciprocal_coordinates()[source]ΒΆ

Return reciprocal coordinates assuming Nyquist-shannan theorem.

reciprocal_increment()[source]ΒΆ

Return reciprocal increment assuming Nyquist-shannan theorem.

to_dict()[source]ΒΆ

Alias to the dict() method of the class.

property typeΒΆ

Return the type of the dimension.