Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/FluxStandard_8h_source.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:13:19 2011 Кодировка: Поисковые слова: herbig-haro object |
00001 //# FluxStandard.h: Compute flux densities for standard reference sources 00002 //# Copyright (C) 1996,1997,1999,2001 00003 //# Associated Universities, Inc. Washington DC, USA. 00004 //# 00005 //# This library is free software; you can redistribute it and/or modify it 00006 //# under the terms of the GNU Library General Public License as published by 00007 //# the Free Software Foundation; either version 2 of the License, or (at your 00008 //# option) any later version. 00009 //# 00010 //# This library is distributed in the hope that it will be useful, but WITHOUT 00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00012 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00013 //# License for more details. 00014 //# 00015 //# You should have received a copy of the GNU Library General Public License 00016 //# along with this library; if not, write to the Free Software Foundation, 00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00018 //# 00019 //# Correspondence concerning AIPS++ should be adressed as follows: 00020 //# Internet email: aips2-request@nrao.edu. 00021 //# Postal address: AIPS++ Project Office 00022 //# National Radio Astronomy Observatory 00023 //# 520 Edgemont Road 00024 //# Charlottesville, VA 22903-2475 USA 00025 //# 00026 //# 00027 //# $Id: FluxStandard.h 20299 2008-04-03 05:56:44Z gervandiepen $ 00028 00029 #ifndef COMPONENTS_FLUXSTANDARD_H 00030 #define COMPONENTS_FLUXSTANDARD_H 00031 00032 //# include directives 00033 #include <casa/aips.h> 00034 #include <casa/BasicSL/String.h> 00035 #include <measures/Measures/MFrequency.h> 00036 #include <components/ComponentModels/Flux.h> 00037 00038 namespace casa { //# NAMESPACE CASA - BEGIN 00039 00040 // <summary> 00041 // FluxStandard: Compute flux densities for standard reference sources 00042 // </summary> 00043 00044 // <use visibility=export> 00045 00046 // <reviewed reviewer="" date="" tests="" demos=""> 00047 00048 // <prerequisite> 00049 // <li><linkto class="Flux">Flux</linkto> module 00050 // </prerequisite> 00051 // 00052 // <etymology> 00053 // From "flux density" and "standard". 00054 // </etymology> 00055 // 00056 // <synopsis> 00057 // The FluxStandard class provides a means to compute total flux 00058 // densities for specified non-variable sources on a standard 00059 // flux density scale, such as that established by Baars or 00060 // Perley and Taylor. 00061 // </etymology> 00062 // 00063 // <example> 00064 // <srcblock> 00065 // </srcblock> 00066 // </example> 00067 // 00068 // <motivation> 00069 // Encapsulate information on standard flux density computation in one class. 00070 // </motivation> 00071 // 00072 // <todo asof="99/06/01"> 00073 // <li> closer integration into component models. 00074 // </todo> 00075 00076 class FluxStandard 00077 { 00078 public: 00079 // Flux scale types 00080 enum FluxScale { 00081 00082 // Perley (1990); plus Reynolds (1934-638; 7/94); Baars (3C138) 00083 PERLEY_90, 00084 00085 // Perley and Taylor (1995.2); plus Reynolds (1934-638; 7/94) 00086 PERLEY_TAYLOR_95, 00087 00088 // Perley and Taylor (1999.2); plus Reynolds (1934-638; 7/94) 00089 PERLEY_TAYLOR_99, 00090 00091 // Baars scale 00092 BAARS}; 00093 00094 // Default constructor, and destructor 00095 FluxStandard (FluxStandard::FluxScale scale = 00096 FluxStandard::PERLEY_TAYLOR_99); 00097 ~FluxStandard(); 00098 00099 // Compute the flux density for a specified source at a specified frequency 00100 Bool compute (const String& sourceName, const MFrequency& mfreq, 00101 Flux <Double>& value, Flux<Double>& error); 00102 00103 // Decode a string representation of the standard or catalog name 00104 static Bool matchStandard(const String& name, 00105 FluxStandard::FluxScale& stdEnum, 00106 String& stdName); 00107 00108 // Return a standard string description for each scale or catalog 00109 static String standardName(const FluxStandard::FluxScale& stdEnum); 00110 00111 private: 00112 // Flux scale in use 00113 FluxStandard::FluxScale itsFluxScale; 00114 00115 }; 00116 00117 00118 } //# NAMESPACE CASA - END 00119 00120 #endif