From e4ba96459340bda5fc6e2ef1335e9b840ce53c88 Mon Sep 17 00:00:00 2001 From: Erin Sheldon Date: Thu, 9 May 2024 13:33:18 -0400 Subject: [PATCH] remove commented code --- imsim/stamp.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/imsim/stamp.py b/imsim/stamp.py index 346a0231..6d61983e 100644 --- a/imsim/stamp.py +++ b/imsim/stamp.py @@ -182,30 +182,6 @@ def setup(self, config, base, xsize, ysize, ignore, logger): pixel_scale=self._pixel_scale, logger=logger ) - """ - if (hasattr(obj_achrom, 'original') - and isinstance(obj_achrom.original, galsim.DeltaFunction)): - - image_size = get_star_image_size( - obj_achrom=obj_achrom, - nominal_flux=self.nominal_flux, - noise_var=noise_var, - airmass=params['airmass'], - rawSeeing=params['rawSeeing'], - band=params['band'], - Nmax=self._Nmax, - pixel_scale=self._pixel_scale, - logger=logger - ) - else: - image_size = get_gal_image_size( - obj_achrom=obj_achrom, - nominal_flux=self.nominal_flux, - noise_var=noise_var, - Nmax=self._Nmax, - pixel_scale=self._pixel_scale, - ) - """ xsize = ysize = stamp_size logger.info('Object %d will use stamp size = %s,%s', base.get('obj_num',0),