|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox data_new.pro
DATA_NEW |
function DATA_NEW([arr], [spectrum=spectrum], [continuum=continuum], [nocheck=nocheck]) |
Create a new data_struct of the requested data type (spectrum or continuum) and containing the given array, if supplied. For continuum data, when the data array is supplied, the additional pointers (date, utc, mjd, etc) are set to double precision vectors of 0s having the same number of elements as arr.
Parameters | |
arr |
The data pointer that this data_struct will hold. If arr is not provided, then the data pointer will point to an undefined variable. |