Manticore  Version 2.0alpha
Physics of Molecular Clouds
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
manticore::SPIRE Class Reference

SPIRE detector class. More...

#include <SPIRE.h>

Inheritance diagram for manticore::SPIRE:
Inheritance graph
[legend]
Collaboration diagram for manticore::SPIRE:
Collaboration graph
[legend]

Public Member Functions

 SPIRE (unsigned band=250, bool extend=true)
 Default constructor. More...
 
 ~SPIRE ()=default
 Destructor. More...
 
virtual void init ()
 Initializes detector characteristics. More...
 
virtual std::string name () const
 Official detector name. More...
 
- Public Member Functions inherited from manticore::Detector
 Detector (bool extend=true) noexcept
 Default constructor. More...
 
 ~Detector ()
 Destructor. More...
 
virtual double ccf (const Graybody &gray, double T, double Sigma=1.0) const
 Color correction factor. More...
 
virtual double freqBand () const noexcept
 Reference band center frequency (Hz). More...
 
virtual std::pair< double, double > freqRange () const noexcept
 Frequency range containing significant response. More...
 
virtual double freqWidth () const noexcept
 Effective flux-conversion bandwidth \(\Delta\nu\) (Hz). More...
 
bool isExtended () const noexcept
 Whether extended source detection is enabled. More...
 
virtual double response (double nu) const
 Absolute spectral response function. More...
 

Protected Attributes

unsigned band_
 Fiducial detector band (microns). More...
 
- Protected Attributes inherited from manticore::Detector
double center_ = 0.0
 Effective band center (Hz). More...
 
bool extend_
 Default to extended (else point) source observation. More...
 
std::pair< double, double > freqRange_
 Response edge frequencies (Hz). More...
 
gsl_integration_workspace * integ_ = nullptr
 Integration workspace. More...
 
tableType resp_
 Spectral response table. More...
 
gsl_spline * spline_ = nullptr
 Response interpolator. More...
 
double width_ = 0.0
 Effective (flux) bandwidth (Hz). More...
 

Static Protected Attributes

static tableType band250
 Response table for the 250 micron band. More...
 
static tableType band350
 Response table for the 350 micron band. More...
 
static tableType band500
 Response table for the 500 micron band. More...
 
- Static Protected Attributes inherited from manticore::Detector
static constexpr int intKey = GSL_INTEG_GAUSS41
 Integration rule key. More...
 
static constexpr size_t subLimit = 512
 Integral subdivision limit. More...
 

Additional Inherited Members

- Protected Types inherited from manticore::Detector
using tableType = std::vector< std::pair< double, double > >
 Detector response table type. More...
 
- Protected Member Functions inherited from manticore::Detector
void calcWidth ()
 Calculates effective bandwidth using standard prescription. More...
 

Detailed Description

SPIRE detector class.

This is a concrete Detector class representing the Herschel SPIRE photometer. This includes support for the 250, 350 and 500 micron bands.

Definition at line 14 of file SPIRE.h.

Constructor & Destructor Documentation

◆ SPIRE()

manticore::SPIRE::SPIRE ( unsigned  band = 250,
bool  extend = true 
)
inline

Default constructor.

Parameters
[in]bandWavelength band (microns).
[in]extendWhether to use extended source detection properties.

Definition at line 19 of file SPIRE.h.

◆ ~SPIRE()

manticore::SPIRE::~SPIRE ( )
default

Destructor.

Member Function Documentation

◆ init()

void manticore::SPIRE::init ( )
virtual

◆ name()

virtual std::string manticore::SPIRE::name ( ) const
inlinevirtual

Official detector name.

Implements manticore::Detector.

Definition at line 25 of file SPIRE.h.

References band_.

Member Data Documentation

◆ band250

Detector::tableType manticore::SPIRE::band250
staticprotected

Response table for the 250 micron band.

SPIRE 250 micron response.

Net aperture efficiency and "PSW" filter response, truncated to the frequency range for which the response \(R(\nu) > 10^{-4}\). Frequency is in Hz.

Definition at line 32 of file SPIRE.h.

Referenced by init().

◆ band350

Detector::tableType manticore::SPIRE::band350
staticprotected

Response table for the 350 micron band.

SPIRE 350 micron response.

Net aperture efficiency and "PMW" filter response, truncated to the frequency range for which the response \(R(\nu) > 10^{-4}\). Frequency is in Hz.

Definition at line 32 of file SPIRE.h.

Referenced by init().

◆ band500

Detector::tableType manticore::SPIRE::band500
staticprotected

Response table for the 500 micron band.

SPIRE 500 micron response.

Net aperture efficiency and "PLW" filter response, truncated to the frequency range for which the response \(R(\nu) > 10^{-4}\). Frequency is in Hz.

Definition at line 32 of file SPIRE.h.

Referenced by init().

◆ band_

unsigned manticore::SPIRE::band_
protected

Fiducial detector band (microns).

Definition at line 36 of file SPIRE.h.

Referenced by init(), and name().


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