Closed pfouque58 closed 3 years ago
So it is created as part of lbl_compute.py
and its only created once for a given template (so if it is not on disk it will be created, if it is on disk it will just be loaded) - but it doesn't seem to depend in any way on the data inside the template (so as far as I can tell no if you update the template this does mean you have to update this file).
It seems to just be saving the wavelength solution for the given mask - using the wavelength solution obtained for the "first spectrum" that is loaded - so if the wavelength solution changes you may need to regenerate this file.
@eartigau may be able to answer this better - but it seems that you would also need to delete this if changing mask - as there doesn't seem to be any way for the code to "know" that the mask has changed so this file would still be used with a different mask
What are these files and how are they generated? Should they be regenerated when new templates are used?