>  Docs Center  >  Libraries  >  Buie  >  NIC1SCAN
Libraries

NIC1SCAN

NIC1SCAN

Name


  nic1scan

Purpose


  Scan for best spectrum location of a weak-signal NICMOS spectrum.

Description


Category


  Spectroscopy

Calling Sequence


  nic1scan,obs,dy,nstep

Inputs


  obs - anonymous structure containing the NICMOS data. This structure
          is initially created by NICINIT.PRO
  dy - Delta y, step size for scan.
  nstep - number of steps to go away from "center". There will be 2*nsteps+1
            trial spectra computed for this.

Optional Input Parameters


Keyword Input Parameters


  SLOPE = slope override value to impose on spectral extraction
  YPOS = position override value to impose on spectral extraction,
            this sets the new "zero-point" or the center of the scan.
  PSF - PSF to use for extraction. Can either be an array or a file name.
            Default=use last known PSF.

Outputs


  Changes are made to some tags of the obs structure:
    .coeffn - modified by SLOPE/YPOS and result of scan
    .spec - Best spectrum (most flux) found.
    .yc - Y location of best spectrum
    .xp - new spatial profile
    .yp - new spatial profile
    .pnp

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


  Note, this routine does not apply the pixel response function correction.
  This means you must make sure all objects are done without the PRF
  correction to get a consistent flux value.

Procedure


Modification History


  Written by Marc W. Buie, Lowell Observatory, 2001/01/30



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us