CARMA C++
carma::sdp::SDPFiller Class Reference

A class to create output files in the science data product format. More...

#include <carma/sdp/SDPFiller.h>

Public Member Functions

void processAll (const carma::util::frameType &startFrame, const carma::util::frameType &endFrame, const std::string &corrType, const bool &rt, const bool &pdb)
 Process all available input astronomical header files. More...
 
void processFiles (const std::vector< std::string > &inputAstroHdrFiles, const carma::util::frameType &startFrame, const carma::util::frameType &endFrame, const std::string &corrType, const std::string &outputSDPFile, const bool &append, const bool &pdb)
 Process a list of astronomical header files. More...
 
void processFiles (const std::vector< std::string > &inputAstroHdrFiles, const carma::util::frameType &startFrame, const carma::util::frameType &endFrame, const std::string &corrType, const bool &append, const bool &pdb)
 
void processFrameCountRange (const carma::util::frameType &startFrame, const carma::util::frameType &endFrame, const std::string &corrType, const std::string &outputSDPFile, const bool &append, const bool &rt, const bool &pdb)
 Process input astro header files within a frame count range. More...
 
void reset ()
 Reset the science data products filler. More...
 
 SDPFiller (const std::string &astroHeaderDir, const std::string &visBrickDir, const std::string &scienceDataFormatDir, const std::string &recycleDir, const int &sleep, const std::string &stopFile, const bool writeFloats=false, const bool getScript=true, const bool force=false)
 Constructor. More...
 
 ~SDPFiller ()
 Desctructor. More...
 

Detailed Description

A class to create output files in the science data product format.

This class is used by the application, sdpFiller, to create output files in the canonical science data product format, here chosen to be Miriad, from input astronomical header files and associated visibility data (visbrick) files.

Definition at line 38 of file SDPFiller.h.

Constructor & Destructor Documentation

carma::sdp::SDPFiller::SDPFiller ( const std::string &  astroHeaderDir,
const std::string &  visBrickDir,
const std::string &  scienceDataFormatDir,
const std::string &  recycleDir,
const int &  sleep,
const std::string &  stopFile,
const bool  writeFloats = false,
const bool  getScript = true,
const bool  force = false 
)

Constructor.

Construct from the configuration parameters used by the science data products filler.

carma::sdp::SDPFiller::~SDPFiller ( )

Desctructor.

Member Function Documentation

void carma::sdp::SDPFiller::processAll ( const carma::util::frameType startFrame,
const carma::util::frameType endFrame,
const std::string &  corrType,
const bool &  rt,
const bool &  pdb 
)

Process all available input astronomical header files.

void carma::sdp::SDPFiller::processFiles ( const std::vector< std::string > &  inputAstroHdrFiles,
const carma::util::frameType startFrame,
const carma::util::frameType endFrame,
const std::string &  corrType,
const std::string &  outputSDPFile,
const bool &  append,
const bool &  pdb 
)

Process a list of astronomical header files.

void carma::sdp::SDPFiller::processFrameCountRange ( const carma::util::frameType startFrame,
const carma::util::frameType endFrame,
const std::string &  corrType,
const std::string &  outputSDPFile,
const bool &  append,
const bool &  rt,
const bool &  pdb 
)

Process input astro header files within a frame count range.

void carma::sdp::SDPFiller::reset ( )

Reset the science data products filler.

Delete all existing science data product output files in the output directory, to allow re-processing of all input astronomical header files and associated visbrick files.


The documentation for this class was generated from the following file: