[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


rebinpulse Source code in rebinpulse.pro

rebinpulse

Name
       rebinpulse
Purpose
       Rebin a pulse profile
Category
       Pulse profiles
Calling Sequence
       rebinpulse,inprofile,outprofile,[keywords]
Input Parameters
       inprofile : PULSEPROFILE structure
Optional Input Parameters
       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.
Keyword Parameters
       notimeweight  : LOGICAL - Do not weigh with accumulation times
                                 for time bins
       verbose       : LOGICAL - produce some output while processing
Output Parameters
       outprofile : PULSEPROFILE structure with Sum(energy_binning) channels
                    and Sum(phase_binning) phasebins
Optional Output
       none
Common Blocks
       none
Side Effects
       none
Restrictions
       * Complex procedure
Procedure
       just read it
Example
       TBW
Revision History
       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

Last modified by pro2html on 2007 March 28 at 03:10 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically