>  Docs Center  >  Libraries  >  Buie  >  OSIDVFIT
Libraries

OSIDVFIT

OSIDVFIT

Name


  osidvfit

Purpose


  Find the linear fit coefficients for a spectrum for each order

Description


  The spectrum and a reference to be divided by are input. The spectrum is
  divided by the reference and this divided spectrum is then filtered for noise
  and deviant points. A linear fit is then applied to each order of the
  filtered divided spectrum.

Category


  Spectroscopy

Calling Sequence


  osidvfit,calib,divspec

Inputs


  calib - The calibration information for the spectrum
  spectrum - The spectrum to be fit
  avgspec - The spectrum to be used as a divisor

Optional Input Parameters


Keyword Input Parameters


  BAD - The bad flags associated with the average spectrum

Outputs


  fit - The linear fit coefficients for each order; this is in the form of a
        2-d array with the fit[0,i]=yint and fit[1,i]=slope where i is the
        order of the spectrum

Keyword Output Parameters


Common Blocks


Side Effects


Restrictions


Procedure


Modification History


  98/06/24 - Written by Chris Dalla Piazza, Lycoming College



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