Skip to content

Commit

Permalink
update PhaseCurve parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
jrob93 committed Jun 6, 2024
1 parent 2de2e32 commit a224c19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/adler/adler.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def runAdler(cli_args):

# initial simple phase curve filter model with fixed G12
pc = PhaseCurve(
abs_mag=sso.H * u.mag,
phase_param=0.62,
H=sso.H * u.mag,
phase_parameter_1=0.62,
model_name="HG12_Pen16",
)

Expand Down Expand Up @@ -168,15 +168,15 @@ def runAdler(cli_args):

# if sum(obs_mask) < N_pc_fit:
# # use an assumed value of G12 until more data is available
# pc_fit = PhaseCurve(abs_mag=sso.H * u.mag, phase_param=0.62, model_name="HG12_Pen16")
# pc_fit = PhaseCurve(H=sso.H * u.mag, phase_parameter_1=0.62, model_name="HG12_Pen16")
# else:
# # do a simple HG12_Pen16 fit to the past data
# pc_fit = pc.FitModel(alpha[obs_mask], red_mag[obs_mask], mag_err[obs_mask])
# pc_fit = pc.InitModelSbpy(pc_fit)

# print(pc_fit)
# print(pc_fit.abs_mag)
# print(pc_fit.phase_param)
# print(pc_fit.H)
# print(pc_fit.phase_parameter_1)

# # now check if the new observations are outlying
# alpha_new = alpha[~obs_mask]
Expand Down

0 comments on commit a224c19

Please sign in to comment.