class DataDescriptor : public BasicDataDescriptor Object for describing pointers to plotting data
| | fXYData XY or just Y with x0 and dx |
| | fdX dx distance |
| | fX0 first x value |
| | fX Data pointer (X) |
| | fY Data pointer (Y) |
| | fN Number of data points |
This data descriptor implements access to data owned by someone else. Only pointers to the data array are stored. The data must stay valid while this data descriptor is used by a plot routine. A user can supply either pointers to a length field, a X and a Y array, or a start X, a delta X and pointers to a length field an a Y array. In the second case the object will allocate and intialize the X array.
float fdX
float fX0
float* fX
float* fY
int* fN
DataDescriptor()
DataDescriptor(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
DataDescriptor(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 ~DataDescriptor()
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 IsXY() const
virtual float GetDX() const
virtual int GetN() const
virtual int& GetNRef() const
virtual float* GetX() const
virtual float* GetY() const
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++