DataObject

class minkit.DataObject(pars, backend)[source]

Bases: object

Abstract class for data objects.

Parameters:

Attributes Summary

aop Object to do operations on arrays.
backend Backend interface.
data_pars Data parameters associated to this sample.
ndim Number of dimensions.

Methods Summary

to_backend(backend) Initialize this class in a different backend.

Attributes Documentation

aop

Object to do operations on arrays.

Type:ArrayOperations
backend

Backend interface.

Type:Backend
data_pars

Data parameters associated to this sample.

Type:Registry(Parameter)
ndim

Number of dimensions.

Type:int

Methods Documentation

to_backend(backend)[source]

Initialize this class in a different backend.

Parameters:backend (Backend) – new backend.
Returns:This class in the new backend.