Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

sdynpy.core.sdynpy_array

Base class for all SDynPy object arrays.

SDynPy object arrays are subclasses of numpy’s ndarray. SDynPy uses structured arrays to store the underlying data objects, resulting in potentially complex data types while still achieving the efficiency and flexibility of numpy arrays.

This module defines the SdynpyArray, which is a subclass of numpy ndarray. The core SDynPy objects inherit from this class. The main contribution of this array is allowing users to access the underlying structured array fields using attribute notation rather than the index notation used by numpy (e.g. object.field rather than object[“field”]).

Classes

NameSummary
SdynpyArraySuperclass of the core SDynPy objects