casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::ListConverter Class Reference

Converts a list or lists dumped from the splatalogue web interface to a casa table. More...

#include <ListConverter.h>

Public Member Functions

 ListConverter (const casacore::Vector< casacore::String > &filename, const casacore::String &table)
 Constructor. More...
 
 ~ListConverter ()
 destuctor More...
 
SplatalogueTableload ()
 load the lists into the table. More...
 

Private Member Functions

 ListConverter ()
 
void _parseLists ()
 
SplatalogueTable_defineTable (const casacore::uInt nrows)
 
void _addData (const SplatalogueTable *table) const
 

Private Attributes

casacore::LogIO_log
 
casacore::Vector
< casacore::RegularFile
_listFiles
 
casacore::String _tableName
 
casacore::String _freqUnit
 
casacore::String _smu2Unit
 
casacore::String _elUnit
 
casacore::String _euUnit
 
casacore::Vector
< casacore::String
_species
 
casacore::Vector
< casacore::String
_chemName
 
casacore::Vector
< casacore::String
_qns
 
casacore::Vector
< casacore::String
_lineList
 
casacore::Vector< casacore::Bool_recommended
 
casacore::Vector
< casacore::Double
_frequency
 
casacore::Vector< casacore::Float_intensity
 
casacore::Vector< casacore::Float_smu2
 
casacore::Vector< casacore::Float_logA
 
casacore::Vector< casacore::Float_eL
 
casacore::Vector< casacore::Float_eU
 

Detailed Description

Converts a list or lists dumped from the splatalogue web interface to a casa table.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Converts a splatalogue line list to a CASA table.

Synopsis

It is a requirement that users be able to convert splatalogue line lists to CASA tables for manipulation of these data within CASA.

Example

files[0] = "myfile1";
files[1] = "myfile2";
Converter converter(files, "mytable");
converter.convert();

Motivation

A class to for splatalogue list conversion.

Definition at line 75 of file ListConverter.h.

Constructor & Destructor Documentation

casa::ListConverter::ListConverter ( const casacore::Vector< casacore::String > &  filename,
const casacore::String table 
)

Constructor.

casa::ListConverter::~ListConverter ( )

destuctor

casa::ListConverter::ListConverter ( )
private

Member Function Documentation

void casa::ListConverter::_addData ( const SplatalogueTable table) const
private
SplatalogueTable* casa::ListConverter::_defineTable ( const casacore::uInt  nrows)
private
void casa::ListConverter::_parseLists ( )
private
SplatalogueTable* casa::ListConverter::load ( )

load the lists into the table.

It is the caller's responsibility to delete the returned pointer.

Member Data Documentation

casacore::Vector<casacore::String> casa::ListConverter::_chemName
private

Definition at line 92 of file ListConverter.h.

casacore::Vector<casacore::Float> casa::ListConverter::_eL
private

Definition at line 95 of file ListConverter.h.

casacore::String casa::ListConverter::_elUnit
private

Definition at line 91 of file ListConverter.h.

casacore::Vector<casacore::Float> casa::ListConverter::_eU
private

Definition at line 95 of file ListConverter.h.

casacore::String casa::ListConverter::_euUnit
private

Definition at line 91 of file ListConverter.h.

casacore::Vector<casacore::Double> casa::ListConverter::_frequency
private

Definition at line 94 of file ListConverter.h.

casacore::String casa::ListConverter::_freqUnit
private

Definition at line 91 of file ListConverter.h.

casacore::Vector<casacore::Float> casa::ListConverter::_intensity
private

Definition at line 95 of file ListConverter.h.

casacore::Vector<casacore::String> casa::ListConverter::_lineList
private

Definition at line 92 of file ListConverter.h.

casacore::Vector<casacore::RegularFile> casa::ListConverter::_listFiles
private

Definition at line 90 of file ListConverter.h.

casacore::LogIO* casa::ListConverter::_log
private

Definition at line 88 of file ListConverter.h.

casacore::Vector<casacore::Float> casa::ListConverter::_logA
private

Definition at line 95 of file ListConverter.h.

casacore::Vector<casacore::String> casa::ListConverter::_qns
private

Definition at line 92 of file ListConverter.h.

casacore::Vector<casacore::Bool> casa::ListConverter::_recommended
private

Definition at line 93 of file ListConverter.h.

casacore::Vector<casacore::Float> casa::ListConverter::_smu2
private

Definition at line 95 of file ListConverter.h.

casacore::String casa::ListConverter::_smu2Unit
private

Definition at line 91 of file ListConverter.h.

casacore::Vector<casacore::String> casa::ListConverter::_species
private

Definition at line 92 of file ListConverter.h.

casacore::String casa::ListConverter::_tableName
private

Definition at line 91 of file ListConverter.h.


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