ResElem Struct Reference
Public Member Functions
- ResElem (int f_, int tu_, int tf_, float l_, float x_, float y_, float ext_, float fl_, float dfl_, float dfle_, bool ign_, int psx_, int psy_)
- int npix () const
- return the number of pixels
Data Fields
- int f
- fiber number within the IFU (runs from 1-448; for use with IFU object)
- int tu
- target unit spectrograph (1 or 2)
- int tf
- fiber number on the detector (runs from 1-224; used in Distortion and FiberModel)
- float l
- float x
- float y
- central wavelength, and x, y on CCD
- float xsky
- float ysky
- x and y on sky
- float ext
- wavelength-dependent attenuation (extinction)
- float mflux
- total (normalized) flux predicted by model [sum(p)]
- float dflux
- float dfluxe
- measured total flux and error
- float cont
- continuum value
- float apfrac
- fraction of fiber area intersected with photometry/detection aperture
- bool ignore
- true if res elem should be ignored
- int psf_size_x
- int psf_size_y
- size of the resolution element in pixels
- Pixel p [8 *8]
- individual pixel values of the model PSF
Detailed Description
A resolution element on the CCD.
Constructor & Destructor Documentation
ResElem::ResElem |
( |
int |
f_, |
|
|
int |
tu_, |
|
|
int |
tf_, |
|
|
float |
l_, |
|
|
float |
x_, |
|
|
float |
y_, |
|
|
float |
ext_, |
|
|
float |
fl_, |
|
|
float |
dfl_, |
|
|
float |
dfle_, |
|
|
bool |
ign_, |
|
|
int |
psx_, |
|
|
int |
psy_ | |
|
) |
| | [inline] |
Member Function Documentation
int ResElem::npix |
( |
|
) |
const [inline] |
Field Documentation
Referenced by SourceSimulator::add_continuum_source_to_images(), add_flux_in_fibers(), SourceSimulator::add_line_source_to_images(), SourceSimulator::add_sersic_source_to_images(), PointSourceDetector::compute_chi2(), PointSourceDetector::compute_chi2_stacked(), PointSourceDetector::compute_sigma(), ContSourceDetector::compute_sigma(), PointSourceDetector::equivalent_width(), extract_fibers_in_aperture(), Projector::fill_in_point_source_model(), Projector::find_affected_pixels(), PointSourceDetector::make_image(), PointSourceDetector::normalize_model(), and PointSourceDetector::photometry().
Referenced by SourceSimulator::add_continuum_source_to_images(), add_flux_in_fibers(), SourceSimulator::add_sersic_source_to_images(), PointSourceDetector::compute_chi2_stacked(), PointSourceDetector::compute_sigma(), ContSourceDetector::compute_sigma(), PointSource::debug_reselem_list(), PointSourceDetector::equivalent_width(), Projector::fill_in_point_source_model(), Projector::find_affected_pixels(), PointSourceDetector::make_image(), PointSourceDetector::make_image_header(), and PointSourceDetector::photometry().
Referenced by add_flux_in_fibers(), Projector::append_res_elem_to_list(), PointSourceDetector::compute_chi2(), PointSourceDetector::compute_chi2_stacked(), PointSourceDetector::compute_sigma(), ContSourceDetector::compute_sigma(), PointSourceDetector::consider_res_elem(), ContSourceDetector::consider_res_elem(), PointSourceDetector::equivalent_width(), PointSourceDetector::make_image_header(), and PointSourceDetector::photometry().