Go to the documentation of this file.
41 cout <<
"Compare q1==q2: " <<
q1.Compare(q2) << endl;
42 cout <<
"Compare q2==q1: " << q2.
Compare(
q1) << endl;
46 cout <<
"q1: " <<
q1 << endl;
47 cout <<
"q2: " << q2 << endl;
54 cout <<
"q3: " << q3 << endl;
56 cout << endl <<
"========================================" << endl << endl;
68 "/Users/olemke/Dropbox/Hacking/sat/catalogue/HITRAN2008/HITRAN08.par",
82 cout <<
"qnr: " << qnr << endl;
84 WriteXML(
"ascii", qnr,
"quantumrecord.xml", 0,
89 cout <<
"qnr2: " << qnr2 << endl;
99 cout <<
"========================================" << endl << endl;
101 cout <<
"Matches: " << matches.
nelem() << endl;
105 cout << abs_lines[matches[i]] << endl;
106 cout << abs_lines[matches[i]].QuantumNumbers() << endl;
109 cout <<
"========================================" << endl << endl;
111 cout <<
"Search key: " << endl;
112 cout <<
"Species: " << stag.
Name() <<
" species: " << stag.
Species() <<
" iso: " << stag.
Isotopologue() << endl;
116 catch (runtime_error e)
118 cout << e.what() << endl;
void timerStart(Timer &, const Verbosity &)
WORKSPACE METHOD: timerStart.
void abs_linesReadFromHitran(ArrayOfLineRecord &abs_lines, const String &filename, const Numeric &fmin, const Numeric &fmax, const Verbosity &verbosity)
WORKSPACE METHOD: abs_linesReadFromHitran.
Container class for Quantum Numbers.
The declarations of all the exception classes.
void Print(Workspace &ws, const Agenda &x, const Index &level, const Verbosity &verbosity)
bool find_matching_lines(ArrayOfIndex &matches, const ArrayOfLineRecord &abs_lines, const Index species, const Index isotopologue, const QuantumNumberRecord qr, const LineMatchingCriteria match_criteria)
Find lines matching the given criteria.
Declarations required for the calculation of absorption coefficients.
String Name() const
Return the full name of the tag.
This can be used to make arrays out of anything.
A tag group can consist of the sum of several of these.
void timerStop(const Timer &, const Verbosity &)
void define_species_map()
Define the species data map.
Workspace methods and template functions for supergeneric XML IO.
void ReadXML(Workspace &ws, Agenda &v, const String &v_name, const String &f, const String &f_name, const Verbosity &verbosity)
Header file for sparse matrices.
Record containing upper and lower quantum numbers.
void SetLower(const Index i, const Rational r)
Set lower quantum number.
Index Isotopologue() const
Isotopologue species index.
void WriteXML(Workspace &ws, const String &file_format, const Agenda &v, const String &f, const Index &no_clobber, const String &v_name, const String &f_name, const String &no_clobber_name, const Verbosity &verbosity)
bool Compare(const QuantumNumbers &qn) const
Compare Quantum Numbers.
void SetUpper(const Index i, const Rational r)
Set upper quantum number.
INDEX Index
The type to use for all integer numbers and indices.
void define_species_data()
void Set(Index qn, Rational r)
Set quantum number.
Index Species() const
Molecular species index.
Index nelem() const
Number of elements.
The global header file for ARTS.
This file contains basic functions to handle XML data files.