LSSTDESC/rail_astro_tools

Add Reddener Stage, and Split out most of Dereddener to a base class. Also, have it use panda dataframes similarly to the degraders.

Closed this issue · 1 comments

** Feature request**

It would be useful to have a "Reddener" Stage which basically does the same as the "Dereddener" stage. The easiset way to do this is to have a shared base class, with just a simple function to calculate the new values, which differs by a minus sign in the two cases.

Also, I think we should switch to having the Reddener / Dereddener use pandas dataframes instead of hdf5 files to match better what the degrarders do.

Before submitting
Please check the following:

  • I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
  • I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
  • If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.