Thanks for your response. I am converting to fiddle with the data in python -although I think I can do that. The problem I'm having is if I do no fiddling, so just convert an ndf to fits with ndf2fits and then straight away convert it back with fits2ndf I get the error above (ie as you put it I don't get back what I started).
I'm loading it into python as I have a lot of spectra and thought it would be easier to automatically identify and mask bad baselines that haven't been masked and spikes in the data.
Cheers,
Matt
|