RegressAgainstPreviousStep
This step provides a simple way to see how the processing has changed between versions. It will loop over and produce difference images between the current version and the named previous version, so you can see what has changed (and by how much).
API
- class pjpipe.RegressAgainstPreviousStep(target, in_dir, curr_version, prev_version=None, file_exts=None, reproject_func='interp', overwrite=False)[source]
Create diagnostic plots to regress against previous versions
- Parameters:
target – Target to consider
in_dir – Input directory
curr_version – Current version to compare to…
prev_version – Previous version
file_exts – File extensions (in priority order) to search for
reproject_func – Which reproject function to use. Defaults to ‘interp’, but can also be ‘exact’ or ‘adaptive’
overwrite – Whether to overwrite or not. Defaults to False
- do_step()[source]
Run previous version regression
- regress_plot(file_dict, key)[source]
Plot per-instrument comparison
- Parameters:
file_dict – Dictionary of files, separated by instrument
key – Instrument key