barak.spec.writesp¶
- barak.spec.writesp(filename, sp, resvel=None, overwrite=False)[source]¶
Writes out a spectrum, as ascii for now - wavelength, flux, error, continuum.
sp must have attributes wa, fl, er and optionally co.
Keyword overwrite can be True or False.
resvel means the instrumental fwhm in km/s will be written on the first line (VPFIT style).