DitherEnvironment Class Reference

Public Member Functions

Static Public Attributes

Protected Attributes


Detailed Description

Collect all necessary data to work on a dithered set of observations. This class loads the images, all the information from the diter file, created the set of Projector objects, pre-processes the images (calculates continuum estimates and optionally subtract it), and deals with the sky sampling grids used for creating the significance maps.

It is also used in photometry/spectral extraction of catalog objects.


Constructor & Destructor Documentation

DitherEnvironment::DitherEnvironment (  )  [inline]

References argc_, argv_, and dithers_.

virtual DitherEnvironment::~DitherEnvironment (  )  [inline, virtual]

Member Function Documentation

void DitherEnvironment::set_detect_parameters ( const DetectOptions d  )  [inline]

References detect_pars_.

Referenced by main().

void DitherEnvironment::set_cmd_line ( int  argc,
char **  argv 
) [inline]

References argc_, and argv_.

Referenced by main().

void DitherEnvironment::write_cmd_line ( std::ostream &  os,
const bool  nodate = false 
) const [inline]
const DetectOptions& DitherEnvironment::get_detect_parameters (  )  const [inline]
void DitherEnvironment::read_ditherfile ( const string &  ditherfile  ) 
void DitherEnvironment::setup_projectors ( const bool  calc_continua = true  ) 
void DitherEnvironment::dump_psf_grid ( void   )  const
void DitherEnvironment::setup_grid_limits ( const ifu Ifu,
const VFrame sciframe 
)
list<SkySampleLimits> DitherEnvironment::get_grid_limits ( void   )  const [inline]
int DitherEnvironment::get_num_dithers ( void   )  const [inline]
string DitherEnvironment::get_output_basename ( void   )  const
const ProjectorSet& DitherEnvironment::get_projector_set (  )  const [inline]
void DitherEnvironment::apply_atmospheric_extinction ( bool  atmext  )  [inline]

References ProjectorSet::apply_atmospheric_extinction(), and P_.

Referenced by main().

const vector<VFrame>& DitherEnvironment::get_vframes (  )  const [inline]

get a reference to the data frames get a reference to the error frames get a reference to a data frames get a reference an error frame get a reference to a vframe

References vframes_.

Referenced by main().

const VFrame& DitherEnvironment::get_vframe ( const int  shot  )  const [inline]
const MArray<float,1>& DitherEnvironment::get_seeing (  )  const [inline]

get a reference to the continuum of frame shot get a reference to the continua get a reference to the continua errors get a reference to the Distortion of frame shot get a reference to the FiberModel of frame shot get a reference to the seeing vector

References seeing_.

Referenced by main(), and PointSourceDetector::make_image_header().

const MArray<float,1>& DitherEnvironment::get_fluxnorm (  )  const [inline]

References fluxnorm_.

Referenced by PointSourceDetector::photometry().

const string& DitherEnvironment::get_datafile ( const int  shot  )  const [inline]
void DitherEnvironment::mask_wavelength ( MArray< float, 2 > &  In,
MArray< float, 2 > &  In_e,
const Distortion D,
const float  wavelength,
const float  width 
)

Mask a region around a particular wavelength. Used mainly to mask 5577.

References Distortion::map_wf_x(), and Distortion::map_xy_wavelength().


Field Documentation

string DitherEnvironment::version = "$Id: ditherenv.cpp 840 2013-06-17 15:17:14Z snigula $" [static]

Collect all necessary data to work on a dithered set of observations. This class loads the images, all the information from the diter file, created the set of Projector objects, pre-processes the images (calculates continuum estimates and optionally subtract it), and deals with the sky sampling grids used for creating the significance maps.

It is also used in photometry/spectral extraction of catalog objects.

Referenced by dump_psf_grid(), main(), and write_cmd_line().

vector<VFrame> DitherEnvironment::vframes_ [protected]
string DitherEnvironment::ditherfile_ [protected]

Referenced by read_ditherfile().

vector<string> DitherEnvironment::datafiles_ [protected]
vector<string> DitherEnvironment::modelfiles_ [protected]
int DitherEnvironment::dithers_ [protected]
MArray<float,1> DitherEnvironment::ditherx_ [protected]
MArray<float,1> DitherEnvironment::dithery_ [protected]
MArray<float,1> DitherEnvironment::seeing_ [protected]
MArray<float,1> DitherEnvironment::fluxnorm_ [protected]
MArray<float,1> DitherEnvironment::airmass_ [protected]
MArray<float,1> DitherEnvironment::ron_ [protected]
MArray<float,1> DitherEnvironment::gain_ [protected]
int DitherEnvironment::argc_ [protected]
char** DitherEnvironment::argv_ [protected]

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1