Why a spectral distribution read from a CSV file cannot be reshaped? #1170
-
Hi, I load a spectra with: What am I doing wrong? I have attached the csv file: -Frank |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @frankkjensen, I think it is an issue with the current code that now uses Numpy: If you look at the spectral distribution, the first wavelength is
Try to set the header directly and remove your two calls that set it for the time being:
I will try to understand what is going on! |
Beta Was this translation helpful? Give feedback.
I found out! You have 3 bytes that cannot be decoded at the start of your file, so the first wavelength ends up as
nan
: