run_stage2

breads.jwst_tools.run_stage2(rate_files, output_dir, skip_cubes=True, overwrite=False, TA=False, nsclean_skip=False, save_plots=True)[source]

Run pipeline stage 2, with some customizations for reductions intended to be used with breads for IFU high contrast

Currently only tested on NIRSpec IFU data

Parameters:
rate_files
output_dir
skip_cubes
overwrite
TA
Returns:
cal_fileslist of str

List of cal filenames produced by stage 2