casacore
|
helper function for ReadFITS and WriteFITS More...
#include <FITS2.h>
Public Member Functions | |
template<class StorageType > | |
void | ReadFITSin (PrimaryArray< StorageType > &fitsdata, Array< Float > &data, Bool &ok, String &ErrorMessage, String *unitName, Vector< String > *axisNames, Vector< Float > *refPixel, Vector< Float > *refLocation, Vector< Float > *delta, std::map< String, Double > *keywords, String *objectName) |
helper function for ReadFITS and WriteFITS
Helper functions to reduce the tedium/code replication of writing the ReadFITS and WriteFITS functions. If a baseclass is introduced that aboved the PrimaryArray class that contains functions like operator() and copy() then these functions won't be necessary.
void casacore::FITS2_global_functions_ReadFITSin::ReadFITSin | ( | PrimaryArray< StorageType > & | fitsdata, |
Array< Float > & | data, | ||
Bool & | ok, | ||
String & | ErrorMessage, | ||
String * | unitName, | ||
Vector< String > * | axisNames, | ||
Vector< Float > * | refPixel, | ||
Vector< Float > * | refLocation, | ||
Vector< Float > * | delta, | ||
std::map< String, Double > * | keywords, | ||
String * | objectName | ||
) |