Coverage for src/galsbi/ucat/plugins/sample_galaxies.py: 100%
9 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-13 03:24 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-13 03:24 +0000
1# Copyright (C) 2018 ETH Zurich, Institute for Particle Physics and Astrophysics
3"""
4Created on Mar 5, 2018
5author: Joerg Herbel
6"""
8from ivy.plugin.base_plugin import BasePlugin
11class Plugin(BasePlugin):
12 """
13 Generate a random catalog of galaxies with magnitudes in multiple bands.
14 """
16 # @profile
17 def __call__(self):
18 from galsbi.ucat.plugins.sample_galaxies_morph import \
19 Plugin as PluginMorph
20 from galsbi.ucat.plugins.sample_galaxies_photo import \
21 Plugin as PluginPhoto
23 PluginPhoto(self.ctx)()
24 PluginMorph(self.ctx)()
26 def __str__(self):
27 return "sample gal population"