Situation
- I need to read data from a file using
fitsfromastropy.io, which uses innumpy. - Some of the values I get when reading are very small negative
float32numbers, when there actually shouldn't exist negative values on the data (because of the data characteristics).
Questions
- Can it be that those numbers were very small
float64, that when read and casted tofloat32became negative? If yes, how small do they have to be? - Is there a way to rewind the process, i.e., to get the original positive very small
float64value?
float32when written and not then read. Could I get the originalfloat64value back from thefloat32, knowing that it should be an extremely small value?