next up previous contents index
Next: Calculation of a total Up: 6.1 Examples for Reducing Previous: Calculation of Photon Flux

Calculation of Photon and Energy Flux

         

A fast calculation of integrated fluxes can be performed with model/spectrum, too. In this case the parameter file is almost identical to the parameter file of the previous example. It differs only in the key word OUTPUT_MODE, which has the default parameter, and OUTPUT_FILE, which has not to be given, since the output is coming to the terminal.

Instead of using the command CREATE/PARFIL FIT a real expert can use the standard editor, for instance EDIT of the VAX or edt or vi or emacs of the UNIX system, or even modify the parameter file using the command WRITE/PARFIL. We enter only necessary information of the model itself and forget about the energy range (0.1 keV and 2.4 keV by default). After editing we run model/spectrum with this parameter file integrated_flux. The output is given to terminal.

Note:Here we give an example of the shortest possible parameter file with abbreviations and without any comment.

Midas 001> $edt integrated_flux.par
 cal
 model    powl(1,2)
 par 1     2.3137e-2
 par 2    -3.984

Midas 002> model/spectrum integrated_flux
 ...
 ...
 energy range from .10000     keV to   2.40     keV
 photon flux =  7.477E+00 photons/cm^2/s
 energy flux =  1.122E+00 keV/cm^2/s
             =  1.798E-09 erg/cm^2/s
             =  1.798E-12 Watt/m^2
If in addition the folding mode is set in the parameter file one gets instead of fluxes the total integrated count rate of a chosen detector (see subsection 6.1.5).



If you have problems/suggestions please send mail to rosat_svc@mpe-garching.mpg.de