|
| Shape () |
| Default constructor.
|
|
virtual | ~Shape () |
| Destructor.
|
|
| Shape (const Shape &) |
| Copy constructor.
|
|
const Shape & | operator= (const Shape &) |
| Assignment operator.
|
|
virtual void | resize (unsigned npol, unsigned nchan, unsigned ndat, unsigned ndim) |
| Set the dimensions of the data.
|
|
unsigned | get_npol () const |
| Get the number of polarizations.
|
|
unsigned | get_nchan () const |
| Get the number of frequency channels.
|
|
unsigned | get_ndat () const |
| Get the number of datum in each of the nchan*npol divisions.
|
|
unsigned | get_ndim () const |
| Get the dimension of each datum (e.g. 2=complex 8=Jones)
|
|
virtual bool | matches (const Shape *shape) |
| Returns true if the npol, nchan, and ndat dimensions match.
|
|
void | scrunch_to (unsigned ndat) |
| Scrunch each dimension to a new ndat.
|
|
void | rotate (int npt) |
| Rotate data so that Shape[i] = Shape[i+npt].
|
|
void | zero () |
| Set all values to zero.
|
|
void | zero_dimensions () |
| Set all dimnensions to zero; allocated memory unaffected.
|
|
void | borrow (const Shape &, unsigned ichan=0) |
| Borrow the data from the specified channel of another Shape.
|
|
const Shape & | operator/= (float factor) |
| Divide each point by factor.
|
|
const Shape & | operator*= (float factor) |
| Multiply each point by factor.
|
|
const Shape & | operator+= (const Shape &) |
| Add another Shape to this one.
|
|
float * | get_datptr (unsigned ichan, unsigned ipol) |
| Provide access to the data for the specified polarization.
|
|
const float * | get_datptr (unsigned ichan, unsigned ipol) const |
| Provide access to the data for the specified polarization.
|
|
| OwnStream (const OwnStream &) |
|
const OwnStream & | operator= (const OwnStream &) |
|
virtual void | set_cout (std::ostream &) const |
|
virtual void | set_cerr (std::ostream &) const |
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|