Coverage for src/galsbi/ucat/plugins/sample_galaxies.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.17.2, created at 2026-11-09 18:05 +0000

1# Copyright (C) 2018 ETH Zurich, Institute for Particle Physics and Astrophysics 

2 

3""" 

4Created on Mar 5, 2018 

5author: Joerg Herbel 

6""" 

7 

8from ivy.plugin.base_plugin import BasePlugin 

9 

10 

11class Plugin(BasePlugin): 

12 """ 

13 Generate a random catalog of galaxies with magnitudes in multiple bands. 

14 """ 

15 

16 # @profile 

17 def __call__(self): 

18 from galsbi.ucat.plugins.sample_galaxies_morph import Plugin as PluginMorph 

19 from galsbi.ucat.plugins.sample_galaxies_photo import Plugin as PluginPhoto 

20 

21 PluginPhoto(self.ctx)() 

22 PluginMorph(self.ctx)() 

23 

24 def __str__(self): 

25 return "sample gal population"