28 #ifndef COMPONENTS_FLUXCALC_SS_JPL_BUTLER_H
29 #define COMPONENTS_FLUXCALC_SS_JPL_BUTLER_H
A Measure: astronomical direction.
A 1-D Specialization of the Array class.
ComponentType::Shape compute(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, casacore::Double &angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs, const casacore::Bool report=true)
Compute the flux densities, their uncertainties, and the angular diameter of the calibration source f...
Main interface class to a read/write table.
Shape
The shapes of all the components.
casacore::Bool get_row_numbers(casacore::uInt &rowbef, casacore::uInt &rowclosest, casacore::uInt &rowaft, const casacore::ScalarColumn< casacore::Double > &mjd)
Find the row in mjd closest to time_p, and the rows just before and after it, taking boundaries into ...
void compute_venus(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
casacore::Bool compute_constant_temperature(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs, const casacore::Bool report=true)
Uses objnum_p to look up a mean temperature, and uses that.
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
casacore::Bool has_illu_p
casacore::uInt n_known() const
returns the number of objects supported by this class.
Earth, // Too highly resolved.
TableExprNode mjd(const TableExprNode &node)
void compute_neptune(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
casacore::Bool setObjNum()
Tries to set objnum_p to the KnownObject matching name_p.
A Measure: instant in time.
~FluxCalc_SS_JPL_Butler()
casacore::Bool hasObjNum_p
casacore::Bool getTime(casacore::MEpoch &output) const
casacore::MDirection getDirection()
casacore::Bool getFreq(casacore::MFrequency& output) const;
void compute_pluto(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
ComponentType::Shape getShape(casacore::Double &angdiam)
Sets angdiam to the source's angular diameter in radians and returns the object's component type (i...
FluxCalc_SS_JPL_Butler()
Default constructor; provided mainly so an array of these can be made more easily.
void compute_uranus(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
bool Bool
Define the standard types used by Casacore.
void compute_BB(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
Compute the flux densities assuming a uniform disk blackbody, and their uncertainties.
casacore::Double temperature_p
casacore::Data members that are not initialized by the c'tor:
void setTime(const casacore::MEpoch &time)
void compute_jupiter(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs)
Saturn, // Modeling the rings is too complicated.
casacore::Bool getName(casacore::String &output) const
void setFreq(const casacore::MFrequency& freq);
static casacore::Bool get_interpolated_value(casacore::Double &val, const casacore::String &colname, const casacore::Table &tab, const casacore::uInt rowbef, const casacore::uInt rowclosest, const casacore::uInt rowaft, const casacore::Double f, const casacore::Double dt, const casacore::Double tp1mt0, const casacore::Double t0mtm1, const casacore::Bool verbose=true)
Put a quadratic, linear, or nearest neighbor interpolation of colname into val.
casacore::Bool readEphem()
Reads a JPL-Horizons ephemeris table to get temperature_p, r_p (heliocentric distance), delta_p (geocentric distance), and phang_p (phase angle).
casacore::String name_p
casacore::Data members which are initialized in the c'tor's initialization list:
String: the storage and methods of handling collections of characters.
casacore::Double mean_rad_p
void compute_GB(casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Double angdiam, const casacore::Vector< casacore::MFrequency > &mfreqs, const casacore::Vector< casacore::Double > &temps)
Like compute_BB(), except it uses a graybody model where each frequency has a corresponding temperatu...
casacore::Bool hasEphemInfo_p
casacore::MFrequency freq_p; casacore::Bool hasFreq_p;
casacore::Double getHeliocentricDist()
Returns the distance from the object to the Sun in AU, or -1 if unknown.
FluxCalc_SS_JPL_Butler::KnownObjects objnum_p
These are also initialized by the c'tor, but not in the initialization list:
casacore::Bool setObj(const casacore::String &objname)
Chooses an object, and returns whether was successful.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.