casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Private Attributes | Static Private Attributes
splattotable_pg.splattotable_pg_ Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Private Attributes

 __bases__
 __doc__

Static Private Attributes

string __name__

Detailed Description

Definition at line 18 of file splattotable_pg.py.


Constructor & Destructor Documentation

Definition at line 21 of file splattotable_pg.py.


Member Function Documentation

def splattotable_pg.splattotable_pg_.__call__ (   self,
  filenames = None,
  table = None,
  wantreturn = None,
  async = None 
)
Convert a downloaded Splatalogue spectral line list to a casa table.
PARAMETER SUMMARY
filenames   Files containing Splatalogue lists.
table       Output table name.
wantreturn  Do you want the task to return a spectralline tool attached to the results table? If not false is returned.

This task reads a spectral line list(s) downloaded from Splatalogue (www.splatalogue.net) and loads it into a CASA table which
can be queried via eg the slsearch task.
    
REQUIRMENTS OF THE DOWNLOADED FILES
    
The downloaded files must be in a specific format for this task to succeed. The columns are the
important things; one can filter the results as one desires using Splatalogue, but the particular columns must be present as described
below. The columns which must be present in the downloaded file in this exact order are: "Species", "NRAO Recommended", "Chemical Name",
"Freq in GHz", "Resolved QNs", "CDMS/JPL Intensity", "Sijmu2 (D2)",
"Log10 (Aij)", "EL (K)", "EU (K)", "Linelist". In order to get these columns in this order, one should
select exactly the following items on the Splatalogue search interface. Under "Specify Ranges" one should select "GHz" for the frequency unit.
Under "Line Strength Display" select exactly "CDMS/JPL Intensity",
"Sij mu2", and "Aij". Under "Energy Levels", one should select exactly "Elower (K)" and "Eupper (K)". Under "Miscellaneous", one should
select exactly "Display Ordered Frequency ONLY" and "Display NRAO Recommended Frequencies". One should then initiate the search and on
the resulting page, one should select the Tab Field Separator and then export the list. The resulting list should be in the proper
format for importing into CASA.
    
RETURN VALUE
This task returns an open spectralline tool which references the new table if wantarray=true. The new table can also be opened by 
a spectralline tool using the open method (eg sl.open(tablename)). False is returned if wantarray=false.


newsl = splattotable("mysplatlist.txt", "mynewsl.tbl", true)

Definition at line 26 of file splattotable_pg.py.

References vla_uvfits_line_sf.verify.


Member Data Documentation

Definition at line 22 of file splattotable_pg.py.

Definition at line 23 of file splattotable_pg.py.

Definition at line 19 of file splattotable_pg.py.


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