![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
rebinpulse
Rebin a pulse profile
Pulse profiles
rebinpulse,inprofile,outprofile,[keywords]
inprofile : PULSEPROFILE structure
energybinning : Single value or vector for binning in energy domain.
If this is a single value N then the output profile
will have in each channel the sum of N channels from
the input profile.
If this is a vector [N,M,...] then the output profile
will have in the first channel the sum of N channels
from the input profile, in the second M, etc.
If the vectro contains negative values, a
corresponding number of channels is skipped
(useful to skip worthless low-energy channels).
phasebinning : Single value or vector for binning in phase domain.
notimeweight : LOGICAL - Do not weigh with accumulation times
for time bins
verbose : LOGICAL - produce some output while processing
outprofile : PULSEPROFILE structure with Sum(energy_binning) channels
and Sum(phase_binning) phasebins
none
none
none
* Complex procedure
just read it
TBW
Version 1.0: 1999/11/12 PK
first version
Version 1.1: 2000/04/11 PK
respond correctly if energy binning is single integer
better error checks
Version 1.2: 2006/08/22 PK
deal with profiles having more than 1 cycle
do auto-detection of no time available
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]