Skip to content

Commit

Permalink
Update obs_nircam.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed Oct 7, 2024
1 parent 5d7a54b commit a5e14c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pynrc/obs_nircam.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def add_planet(self, model='SB12', atmo='hy3s', mass=10, age=100, entropy=10,
sptype : str
Instead of using a exoplanet spectrum, specify a stellar type.
renorm_args : dict
renorm_args : tuple
Renormalization arguments in case you want
very specific luminosity in some bandpass.
Includes (value, units, bandpass).
Expand Down Expand Up @@ -1059,7 +1059,7 @@ def gen_planets_image(self, PA_offset=0, xyoff_asec=(0,0), use_cmask=True,
if PA_offset!=0:
plx_asec, ply_asec = xy_rot(plx_asec, ply_asec, PA_offset)

# print(f'Planet offset ({plx_asec:.4f}, {ply_asec:.4f}) asec')
print(f'Planet offset ({plx_asec:.4f}, {ply_asec:.4f}) asec')

# bar offsets are added inside calc_psf_from_coeff
xoff_idl, yoff_idl = (plx_asec + offx_asec, ply_asec + offy_asec)
Expand Down

0 comments on commit a5e14c3

Please sign in to comment.