MonotonicDimension

class csdmpy.MonotonicDimension(coordinates, **kwargs)[source]

Bases: csdmpy.dimensions.quantitative.BaseQuantitativeDimension

A monotonic grid dimension.

Generates an object representing a physical dimension whose coordinates are monotonically sampled along a grid dimension. See MonotonicDimension 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 coordinates

Return the coordinates along the dimensions.

property coordinates_offset

Value at index zero, \(c_k\), along the dimension.

copy()[source]

Return a copy of the object.

property count

Total number of points along the monotonic dimension.

property data_structure

Json serialized string describing the MonotonicDimension class instance.

to_dict()[source]

Return the MonotonicDimension as a python dictionary.

property type

Return the type of the dimension.