Reference/API#

niriss_tools.pipeline Package#

A subpackage to aid in running various components as part of a pipeline.

Functions#

find_matches(img_dir, info_dict[, pattern, ...])

Update an info_dict with matches from a specified directory.

gen_associations(raw_output_dir[, field_name])

Generate exposure tables for each group of filters and grisms.

grism_background_subtraction([prep_dir, ...])

Model and subtract a dispersed background from WFSS data.

load_assoc([ra, dec, radius, proposal_id, ...])

Load exposure tables and association names from the DJA.

parse_files_grizli_aws(data_dir[, root, ...])

Parse files processed using grizli aws/DJA into a dict.

parse_images_from_pattern(img_dir[, pattern])

Populate a dict with info and locations of images matching a pattern.

process_using_aws(grizli_home_dir, ...[, ...])

Process WFSS data using the functions in grizli.aws.

queryMAST(pid[, instrument, use_filter])

Query MAST for the full list of observations for specific PID.

recursive_merge(d1, d2)

Recursively merge two dictionaries.

regen_catalogue(new_seg_map[, root, sci, ...])

Make a catalog from drizzle products using SEP.

run_det1(uncal_path, output_dir, **kwargs)

Run the level 1 detector pipeline on an uncalibrated image.

seg_slice(seg_map, seg_id[, padding, ...])

Find the location of an object in a segmentation map.

stsci_det1(uncal_dir, raw_output_dir[, ...])

Run the JWST level 1 detector pipeline.