Loading tools/getPSF.py +5 −1 Original line number Diff line number Diff line Loading @@ -43,11 +43,15 @@ with open(config_filename, "r") as stream: # Setup Chip chip = Chip(chipID=chipID, config=config) print('chip.bound::', chip.bound.xmin, chip.bound.xmax, chip.bound.ymin, chip.bound.ymax) for iobj in range(nobj): print("\nget psf for iobj-", iobj, '\t', 'bandpass:', end=" ", flush=True) # Setup Position # Setup Position on focalplane x, y = imgPos[iobj, :] # try get the PSF at some location (1234, 1234) on the chip x = x+chip.bound.xmin y = y+chip.bound.ymin pos_img = galsim.PositionD(x, y) # Setup sub-bandpass Loading Loading
tools/getPSF.py +5 −1 Original line number Diff line number Diff line Loading @@ -43,11 +43,15 @@ with open(config_filename, "r") as stream: # Setup Chip chip = Chip(chipID=chipID, config=config) print('chip.bound::', chip.bound.xmin, chip.bound.xmax, chip.bound.ymin, chip.bound.ymax) for iobj in range(nobj): print("\nget psf for iobj-", iobj, '\t', 'bandpass:', end=" ", flush=True) # Setup Position # Setup Position on focalplane x, y = imgPos[iobj, :] # try get the PSF at some location (1234, 1234) on the chip x = x+chip.bound.xmin y = y+chip.bound.ymin pos_img = galsim.PositionD(x, y) # Setup sub-bandpass Loading