PyWiFeS / pipeline

The Python data reduction pipeline for WiFeS
6 stars 26 forks source link

Option added to pick the params_ns.json file for SubNodAndShuffle data #49

Closed CMartinezLombilla closed 4 months ago

CMartinezLombilla commented 4 months ago

Added the validator function is_subnodshuffle() in /src/pywifes/pywifes.py to check whether the data were observed in sub nod and shuffle mode. This is then used in /reduction_scripts/reduce_data.py to choose the configuration file accordingly. That is, if is_subnodshuffle() == True, then the pipeline will use the params_ns.json file as the preferred recipe.

CMartinezLombilla commented 4 months ago

This was an issue reported by a user (via email). After this amendment, we did some tests with the user and they were happy with the results.