Go to the documentation of this file.
3 #ifndef CEExecOptions_h
4 #define CEExecOptions_h
93 AddDoubleParam(
"r,ra",
"RA in the CIRS coordinate frame (degrees)", 0.0);
94 AddDoubleParam(
"d,dec",
"DEC in the CIRS coordinate frame (degrees)", 0.0);
110 AddDoubleParam(
"R,ra",
"RA in ICRS coordinate frame (degrees)", 0.0);
111 AddDoubleParam(
"D,dec",
"DEC in the ICRS coordinate frame (degrees)", 0.0);
127 AddDoubleParam(
"l,glon",
"Galactic longitude (degrees)", 0.0);
128 AddDoubleParam(
"b,glat",
"Galactic latitude (degrees)", 0.0);
144 AddDoubleParam(
"a,azimuth",
"Azimuth angle (degrees, north=0, east=90)", 0.0);
145 AddDoubleParam(
"z,zenith",
"Zenith angle (degrees)", 0.0);
172 AddDoubleParam(
"x,longitude",
"Observer geographic longitude (degrees east positive)", 0.0);
173 AddDoubleParam(
"y,latitude",
"Observer geographic latitude (degrees)", 0.0);
174 AddDoubleParam(
"elevation",
"Observer elevation (meters)", 0.0);
175 AddDoubleParam(
"pressure",
"Observer's atmospheric pressure (hPa)", obs.
Pressure_hPa());
176 AddDoubleParam(
"humidity",
"Observer's atmospheric humicity (0-1)", obs.
RelativeHumidity());
177 AddDoubleParam(
"temperature",
"Observer's atmospheric temperature (Celsius)", obs.
Temperature_C());
178 AddDoubleParam(
"wavelength",
"Observing wavelength (micrometers)", obs.
Wavelength_um());
209 AddStringParam(
"nutation",
"File containing nutation corrections",
211 AddStringParam(
"ttut1hist",
"File containing 'TT - UT1' corrections (historical)",
213 AddStringParam(
"ttut1pred",
"File containing 'TT - UT1' corrections (predicted)",
228 AddStringParam(
"cirs",
"Input CIRS RA,Dec coordinates (degrees)",
"");
229 if (!HasPar(
"delim")) {
230 AddStringParam(
"delim",
"Angle delimiter",
"");
245 AddStringParam(
"icrs",
"Input ICRS RA,Dec coordinates (degrees)",
"");
246 if (!HasPar(
"delim")) {
247 AddStringParam(
"delim",
"Angle delimiter",
"");
262 AddStringParam(
"galactic",
"Input Galactic longitude,latitude coordinates (degrees)",
264 if (!HasPar(
"delim")) {
265 AddStringParam(
"delim",
"Angle delimiter",
"");
280 AddStringParam(
"ecliptic",
"Ecliptic longitude,latitude (degrees)",
"");
281 if (!HasPar(
"delim")) {
282 AddStringParam(
"delim",
"Angle delimiter",
"");
297 AddStringParam(
"observed",
"Observed altitude,zenith (degrees)",
"");
298 if (!HasPar(
"delim")) {
299 AddStringParam(
"delim",
"Angle delimiter (single character)",
"");
310 AsDouble(
"latitude"),
311 AsDouble(
"elevation"),
327 if (AsString(
"nutation").size() > 0) {
331 if (AsString(
"ttut1hist").size() > 0) {
335 if (AsString(
"ttut1pred").size() > 0) {
347 std::string vers_str = prog_name +
" v" + CPPEPHEM_VERSION;
349 AddVersionInfo(vers_str);
void AddObservedPars(void)
Add parameters for observed azimuth,zenith coordinates.
void SetNutationFile(const std::string &filename)
Set the name of the file to use for defining the nutation corrections.
void AddCirsPars(void)
Add parameters for CIRS coordinates.
void free_members(void)
Free explicitly allocated memory.
void SetProgName(const std::string &prog_name)
Defines the program name and sets the version information.
CEExecOptions()
Default constructor.
double Temperature_C() const
Return temperature in degrees Celsius.
void init_members(void)
Initialize data members.
CEObserver GenObserver(void)
Generate an observer object.
double RelativeHumidity() const
Return relative humidity.
void AddGalacticPar(void)
Add parameters for Galactic coordinates.
void SetRelativeHumidity(const double &humidity=0.0)
Set the observer's relative humidity.
void AddObserverPars(void)
Add parameters defining an observer and their atmospheric properties.
void AddObservedPar(void)
Add parameters for Observed coordinates.
void SetWavelength_um(const double &new_wavelength_um)
Set the observer's observing wavelength (micrometers)
void SetPressure_hPa(const double &pressure=CppEphem::EstimatePressure_hPa(CppEphem::SeaLevelTemp_C()))
Set the observer's pressure.
void AddJDPar(void)
Add parameter for the Julian date.
double Pressure_hPa() const
Return atmospheric pressure in units of hPa.
double Wavelength_um() const
Return the wavelength in units of micrometers.
void copy_members(const CEExecOptions &other)
Copy data members from another object of the same class.
void AddCirsPar(void)
Add parameters for CIRS coordinates.
void SetCorrFiles(void)
Defines the corrections terms from user supplied options.
void SetTtUt1PredFile(const std::string &filename)
Set the name of the file to use for defining the predicted TT-UT1 corrections.
virtual ~CEExecOptions()
Deconstruct.
void AddEclipticPar(void)
Add parameters for Ecliptic coordinates.
void AddIcrsPar(void)
Add parameters for ICRS coordinates.
CEExecOptions & operator=(const CEExecOptions &other)
Copy assignment operator.
static double CurrentJD()
Static method for getting the current Julian date.
void AddIcrsPars(void)
Add parameters for ICRS coordinates.
void AddCorrFilePars(void)
Add parameter for the corrections file path.
CEExecOptions(const std::string &prog_name)
Construct from a program name.
void SetTtUt1HistFile(const std::string &filename)
Set the name of the file to use for defining the historic TT-UT1 corrections.
void AddGalacticPars(void)
Add parameters for Galactic coordinates.