class DataCopy : public DataDescriptor Object for storing plotting data
| | DataCopy () Default constructor. |
| | DataCopy (const BasicDataDescriptor& dat, int n1 = 0, int len = -1, int bin = 1) Copy Constructor. |
| | DataCopy (float* x, float* y, int& n, bool cmplx = false) Constructor. |
| | DataCopy (float x0, float dx, float* y, int& n, bool cmplx = false) Constructor. |
| | ~DataCopy () Destructor. |
| | SetData (float* x, float* y, int& n, bool cmplx = false) Set data method. |
| | SetData (float x0, float dx, float* y, int& n, bool cmplx = false) Set data method. |
| | UnsetXY () Unset XY method. |
This data descriptor implements access to data by making a copy of the data arrays specified in the constructor. The original data can be reused. A user can supply either an X and Y array, or a start X, a delta X and a Y array.
DataCopy(const BasicDataDescriptor& dat, int n1 = 0, int len = -1, int bin = 1)
n1 - Subrange start index
n2 - Subrange length (-1 for all)
bin - binning
DataCopy(float* x, float* y, int& n, bool cmplx = false)
y - Pointer to Y array
n - Reference to array length
cmplx - true if data is complex
DataCopy(float x0, float dx, float* y, int& n, bool cmplx = false)
dx - X array spacing
y - Pointer to Y array
n - Reference to array length
cmplx - true if data is complex
virtual ~DataCopy()
virtual bool SetData(float* x, float* y, int& n, bool cmplx = false)
y - Pointer to Y array
n - Reference to array length
cmplx - true if data is complex
virtual bool SetData(float x0, float dx, float* y, int& n, bool cmplx = false)
dx - X array spacing
y - Pointer to Y array
n - Reference to array length
cmplx - true if data is complex
virtual bool UnsetXY()
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++