|
lsst.pipe.tasks gcf00bf066d+4f59a27f16
|
Functions | |
| HG_model (phase, params) | |
| HG1G2_model (phase, params) | |
| HG12_model (phase, params) | |
| HG12star_model (phase, params) | |
| chi2 (params, mag, phase, mag_err, model) | |
| fit (mag, phase, sigma, model=HG12_model, params=[0.1]) | |
| fitHG12 (mag, magSigma, phaseAngle, tdist, rdist) | |
| phase_angle_deg (r_obj_sun, r_obs_sun) | |
| hg_V_mag (H, G, r, delta, phase_deg) | |
Variables | |
| list | A = [3.332, 1.862] |
| list | B = [0.631, 1.218] |
| list | C = [0.986, 0.238] |
| alpha_12 = np.deg2rad([7.5, 30.0, 60, 90, 120, 150]) | |
| list | phi_1_sp = [7.5e-1, 3.3486016e-1, 1.3410560e-1, 5.1104756e-2, 2.1465687e-2, 3.6396989e-3] |
| list | phi_1_derivs = [-1.9098593, -9.1328612e-2] |
| list | phi_2_sp = [9.25e-1, 6.2884169e-1, 3.1755495e-1, 1.2716367e-1, 2.2373903e-2, 1.6505689e-4] |
| list | phi_2_derivs = [-5.7295780e-1, -8.6573138e-8] |
| alpha_3 = np.deg2rad([0.0, 0.3, 1.0, 2.0, 4.0, 8.0, 12.0, 20.0, 30.0]) | |
| list | phi_3_sp |
| list | phi_3_derivs = [-1.0630097, 0] |
| phi_1 = CubicSpline(alpha_12, phi_1_sp, bc_type=((1, phi_1_derivs[0]), (1, phi_1_derivs[1]))) | |
| phi_2 = CubicSpline(alpha_12, phi_2_sp, bc_type=((1, phi_2_derivs[0]), (1, phi_2_derivs[1]))) | |
| phi_3 = CubicSpline(alpha_3, phi_3_sp, bc_type=((1, phi_3_derivs[0]), (1, phi_3_derivs[1]))) | |
| lsst.pipe.tasks.ssp.photfit.chi2 | ( | params, | |
| mag, | |||
| phase, | |||
| mag_err, | |||
| model ) |
Definition at line 97 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.fit | ( | mag, | |
| phase, | |||
| sigma, | |||
| model = HG12_model, | |||
| params = [0.1] ) |
Definition at line 102 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.fitHG12 | ( | mag, | |
| magSigma, | |||
| phaseAngle, | |||
| tdist, | |||
| rdist ) |
Definition at line 110 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.HG12_model | ( | phase, | |
| params ) |
Definition at line 79 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.HG12star_model | ( | phase, | |
| params ) |
Definition at line 90 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.HG1G2_model | ( | phase, | |
| params ) |
Definition at line 62 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.HG_model | ( | phase, | |
| params ) |
Definition at line 44 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.hg_V_mag | ( | H, | |
| G, | |||
| r, | |||
| delta, | |||
| phase_deg ) |
Compute apparent V magnitude from the IAU H–G system.
Parameters
----------
H : float or ndarray
Absolute magnitude (V-band).
G : float or ndarray
Slope parameter.
r : float or ndarray
Heliocentric distance in AU.
delta : float or ndarray
Observer distance (Δ) in AU.
phase_deg : float or ndarray
Phase angle in degrees.
Definition at line 178 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.phase_angle_deg | ( | r_obj_sun, | |
| r_obs_sun ) |
Compute phase angle (Sun–Object–Observer) in degrees.
Parameters
----------
r_obj_sun : array, shape (3,) or (3, N)
Object position vector wrt Sun (Sun → object).
r_obs_sun : array, shape (3,) or (3, N)
Observer position vector wrt Sun (Sun → observer).
Returns
-------
float or ndarray
Phase angle(s) in degrees, in [0, 180].
Definition at line 144 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.A = [3.332, 1.862] |
Definition at line 8 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.alpha_12 = np.deg2rad([7.5, 30.0, 60, 90, 120, 150]) |
Definition at line 14 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.alpha_3 = np.deg2rad([0.0, 0.3, 1.0, 2.0, 4.0, 8.0, 12.0, 20.0, 30.0]) |
Definition at line 22 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.B = [0.631, 1.218] |
Definition at line 9 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.C = [0.986, 0.238] |
Definition at line 10 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.phi_1 = CubicSpline(alpha_12, phi_1_sp, bc_type=((1, phi_1_derivs[0]), (1, phi_1_derivs[1]))) |
Definition at line 39 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_1_derivs = [-1.9098593, -9.1328612e-2] |
Definition at line 17 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_1_sp = [7.5e-1, 3.3486016e-1, 1.3410560e-1, 5.1104756e-2, 2.1465687e-2, 3.6396989e-3] |
Definition at line 16 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.phi_2 = CubicSpline(alpha_12, phi_2_sp, bc_type=((1, phi_2_derivs[0]), (1, phi_2_derivs[1]))) |
Definition at line 40 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_2_derivs = [-5.7295780e-1, -8.6573138e-8] |
Definition at line 20 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_2_sp = [9.25e-1, 6.2884169e-1, 3.1755495e-1, 1.2716367e-1, 2.2373903e-2, 1.6505689e-4] |
Definition at line 19 of file photfit.py.
| lsst.pipe.tasks.ssp.photfit.phi_3 = CubicSpline(alpha_3, phi_3_sp, bc_type=((1, phi_3_derivs[0]), (1, phi_3_derivs[1]))) |
Definition at line 41 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_3_derivs = [-1.0630097, 0] |
Definition at line 36 of file photfit.py.
| list lsst.pipe.tasks.ssp.photfit.phi_3_sp |
Definition at line 24 of file photfit.py.