Identifier sap_mult Purpose multiplicate a spectrum either by a constant or another spectrum (array) Synopsis sap_mult, 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 multiplied (constant array or fluxes) in2err I Float(*) Array of weights for in2flx outflux O Float(*) array of Spectrum 1 after multiplication outerr O Float(*) Array of uncertainties of outflux Returns The multiplied fluxes (or photocurrents) and their propagated errors. Description Multiplies a spectrum either by a constant or another spectrum For multiplying 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: -- CALLED FROM: arithm Category ISAP Filename sap_mult.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 ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;