DerivedHandler
This module creates signal masks based on image cubes, and then applies the masks to make moment maps. This is done for each galaxy at multiple spatial scales.
- phangsPipeline.DerivedHandler.loop_derive_products(self, do_all: bool = False, do_convolve: bool = False, do_noise: bool = False, do_strictmask: bool = False, do_broadmask: bool = False, do_moments: bool = False, do_secondary: bool = False, do_vfield: bool = False, do_shuffling: bool = False, do_flatmask: bool = False, do_flatmaps: bool = False, make_directories: bool = True, overwrite: bool = True)
Loops over the full set of targets, spectral products (note the dual definition of “product” here), and configurations to do the imaging. Toggle the parts of the loop using the do_XXX booleans. Other choices affect algorithms used.
- Parameters:
do_all (bool, optional) – If True, will create all derived product types. Defaults to False.
do_convolve (bool, optional) – If True, will do convolution to different resolutions. Defaults to False.
do_noise (bool, optional) – If True, will do noise estimation. Defaults to False.
do_strictmask (bool, optional) – If True, will build strict masks. Defaults to False.
do_broadmask (bool, optional) – If True, will build broad masks. Defaults to False.
do_moments (bool, optional) – If True, will generate moment maps. Defaults to False.
do_secondary (bool, optional) – If True, will generate secondary moment maps. Defaults to False.
do_vfield (bool, optional) – If True, will generate velocity field. Defaults to False.
do_shuffling (bool, optional) – If True, will generate shuffled cubes. Defaults to False.
do_flatmask (bool, optional) – If True, will generate flat masks. Defaults to False.
do_flatmaps (bool, optional) – If True, will generate flat maps. Defaults to False.
make_directories (bool, optional) – If True, will make the directories if they don’t already exist. Defaults to True.
overwrite (bool, optional) – If True, will overwrite existing files. Defaults to True.