demorest/pypsrfits
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
pypsrfits P. Demorest, Nov 2013 --------------------- This is a very simple python module for reading search-mode PSRFITS data into python. It requires the fitsio python module (and numpy of course). Example usage: # Import the module, open a file import pypsrfits f = pypsrfits.PSRFITS('my_file.fits') # A full fitsio object for the file is available: f.fits # The main header and SUBINT header are also accessible: f.hdr f.subhdr # Read all data from row 13 d = f.get_data(13) # Read all data in entire file, downsampling in time by # a factor of 256 d = f.get_data(0,-1,downsamp=256)
About
Simple pure-python module for reading search-mode PSRFITS files.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published