MonotonicDimension

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

Bases: BaseQuantitativeDimension

Monotonic grid dimension.

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

property coordinates

Return the coordinates along the dimensions.

property coordinates_offset

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

copy_metadata(obj)[source]

Copy MonotonicDimension metadata.

property count

Total number of points along the monotonic dimension.

dict()[source]

Return the MonotonicDimension as a python dictionary.

property type

Return the type of the dimension.