Identifier sap_div Purpose Divide a spectrum either by a constant or another spectrum (array) (with error propagation) Synopsis sap_div, in1flux, in1err, in2flux, in2err, outflux, outerr Arguments Name I/O Type Description ----------------------------------------------------- in1flux I Float(*) array of first spectrum (flux or photocurrents) in1err I Float(*) Array of weights for in1flux in2flux I Float(*) array by which in1flux is to be divided (constant array or fluxes) in2err I Float(*) Array of weights for in2flx outflux O Float(*) array of Spectrum 1 after division outerr O Float(*) Array of uncertainties of outflux Returns The divided fluxes (or photocurrents) and their propagated errors. Description Divides a spectrum either by a constant or another spectrum For division with a constant this constant has to be passed as array (from the shell arithm). The errors are propagated. Comment The routine is usually called from the "shell" ARITHM which provides the appropriate arrays from the product structures. Example --- Dependencies CALLS: sap_error CALLED FROM: arithm Category ISAP Filename sap_div.pro Author A. Fiedler (--> AF) Version 1.0 History 0.1 27-09-95 AF 1.0 30-11-95 ES V1 delivery ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Copyright (C) 1995, Max-Planck-Institut fuer extraterrestrische Physik (MPE); Garching, Germany ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;