Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
esheldon committed May 9, 2024
1 parent 3f6aa97 commit e4ba964
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions imsim/stamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit e4ba964

Please sign in to comment.