preprocess

grizli.pipeline.auto_script.preprocess(field_root='j142724+334246', HOME_PATH='/Volumes/Pegasus/Grizli/Automatic/', PERSIST_PATH=None, min_overlap=0.2, make_combined=True, catalogs=['PS1', 'DES', 'NSC', 'SDSS', 'GAIA', 'WISE'], use_visit=True, master_radec=None, parent_radec=None, use_first_radec=False, skip_imaging=False, clean=True, skip_single_optical_visits=True, visit_prep_args={'align_assume_close': False, 'align_clip': 120, 'align_final_niter': 8, 'align_guess': None, 'align_mag_limits': [14, 24, 0.05], 'align_min_flux_radius': 1.0, 'align_min_nexp': 2, 'align_ref_border': 100, 'align_rms_limit': 2, 'align_simple': False, 'align_thresh': None, 'align_transform': None, 'angle_background_kwargs': {'angles': [30.0, -30.0, 0, 90], 'detection_background': True, 'instruments': [], 'niter': 3, 'suffix': 'angles', 'threshold': 1.8}, 'catalog_mask_pad': 0.05, 'column_average': True, 'do_pure_parallel_wcs': True, 'drizzle_params': {}, 'fix_stars': False, 'imaging_bkg_params': {'bh': 256, 'bw': 256, 'fh': 3, 'fw': 3, 'get_median': False, 'pixel_scale': 0.1}, 'iter_atol': 0.0001, 'match_catalog_density': False, 'max_err_percentile': 99, 'miri_skyfile': None, 'miri_skyflat': False, 'nircam_wisp_kwargs': {'niter': 3, 'update': True}, 'oneoverf_kwargs': {'deg_pix': 64, 'dilate_iterations': 3, 'other_axis': False, 'thresholds': [5, 4, 3]}, 'outlier_threshold': 4, 'reference_catalogs': ['LS_DR9', 'PS1', 'DES', 'DSC', 'SDSS', 'GAIA', 'WISE'], 'run_separate_chip_sky': True, 'run_tweak_align': True, 'single_image_CRs': True, 'skip_nircam_grism_sky': True, 'sky_iter': 10, 'skymethod': 'localmin', 'snowball_kwargs': {'instruments': ['NIRCAM', 'NIRISS'], 'mask_bit': 1024, 'max_fraction': 0.3, 'snowball_dilate': 18, 'snowball_erode': 4, 'snowblind_kwargs': {'growth_factor': 1.5, 'min_radius': 4, 'new_jump_flag': 1024, 'unset_first': True}}, 'tweak_fit_order': -1, 'tweak_max_dist': 100, 'tweak_mosaic_iters': 2, 'tweak_n_min': 10, 'tweak_ref_exp': 0, 'tweak_threshold': 3.0, 'use_skyflats': True}, persistence_args={'dq_value': 1024, 'err_threshold': 0.5, 'grow_mask': 3, 'reset': False, 'verbose': True})[source]

Preprocessing script

Parameters
field_rootstr

Basename of the exposure group processed together

HOME_PATHstr

Base path for file processing

master_radecstr

Force use this radec file for astrometric alignment

parent_radecstr

Use this file if overlap < min_overlap for associations in the group

visit_prep_argsdict

Keyword arguments passed to process_direct_grism_visit