This page explains the steps needed to add a new detrend type to the system (CTE Mask as an example)

* define the analysis needed to produce the 'processed' images:

in this case, I have created a new ppImage recipe option 'CHECK.CTE', which replaces the image with a measurement of the variance in a superpixel divided by the cell median value.

* add the new detrend type to the tables listed in ** -- $FILERULES ** -- $FILERULES and $STATRECIPES ** -- DETRENDS and $FILERULES ** -- NORMALIZE ** -- DETTYPE

* add detrend type to reduction classes

* create a ppMerge recipe for the detrend type (and modify ppMerge if needed!)

* create a jpeg recipe as needed