galsbi.ucat_sps.plugins package

Submodules

galsbi.ucat_sps.plugins.add_promage_magnitude_error module

Add ProMage reconstruction uncertainty to measured galaxy magnitudes.

class galsbi.ucat_sps.plugins.add_promage_magnitude_error.Plugin(ctx, **kwargs)[source]

Bases: BasePlugin

Store the combined SExtractor and ProMage magnitude error per band.

Only galaxies generated with ProMage receive the additional uncertainty. MAGERR_AUTO remains the SExtractor measurement error; stars and unmatched detections have no ProMage prediction and receive NaN.

galsbi.ucat_sps.plugins.sample_galaxies_sps module

class galsbi.ucat_sps.plugins.sample_galaxies_sps.Plugin(ctx, **kwargs)[source]

Bases: BasePlugin

Generate a catalog of galaxies with SPS computed magnitudes in multiple bands.

galsbi.ucat_sps.plugins.sample_galaxies_sps.check_max_mem_error(max_mem_hard_limit=10000)[source]

Check if the catalog does not exceed allowed memory.

Prevents job crashes on clusters.

Module contents