Skip to content

Commit

Permalink
Fix for nemoModel SZ painting
Browse files Browse the repository at this point in the history
Bigger stamps (again)
  • Loading branch information
mattyowl committed Dec 22, 2023
1 parent 91f6c8f commit 43c0409
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nemo/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,10 @@ def _paintSignalMap(shape, wcs, tckP, beam = None, RADeg = None, decDeg = None,
amps=np.array([amp], dtype = dtype)

if omap is not None:
ra1=RADeg-(maxSizeDeg/2)/np.cos(np.radians(decDeg))
ra0=RADeg+(maxSizeDeg/2)/np.cos(np.radians(decDeg))
dec1=decDeg-maxSizeDeg/2
dec0=decDeg+maxSizeDeg/2
ra1=RADeg-(maxSizeDeg/1.0)/np.cos(np.radians(decDeg))
ra0=RADeg+(maxSizeDeg/1.0)/np.cos(np.radians(decDeg))
dec1=decDeg-maxSizeDeg/1.0
dec0=decDeg+maxSizeDeg/1.0
clip=astImages.clipUsingRADecCoords(omap, wcs, ra1, ra0, dec0, dec1)
modelClip=pointsrcs.sim_objects(clip['data'].shape, clip['wcs'].AWCS, poss, amps, (r, abs(rprof)), vmin = vmin,
rmax = np.radians(maxSizeDeg), #prof_equi = False,
Expand Down

0 comments on commit 43c0409

Please sign in to comment.