get_writer¶
- baseband_tasks.io.psrfits.get_writer(filename, hdu, **kwargs)[source] [edit on github]¶
Function to init a PSRFITS HDU for writing.
- Parameters:
- filenamestr or filehandle
File to eventually write the FITS data to.
- shapetuple
The shape for data.
- **kwargs
Additional arguments for creating PSRFITS writer. Passes on to
PSRFITSWriter
.