wispr_analysis.stationary_point#

Submodules#

Classes#

Functions#

measurements_to_states(measured_angles[, vphi])

calc_constraints(measured_angles[, ...])

calc_three_constraints(measured_angles[, vphi])

find_uncertainty(measured_angles[, n_samples, ...])

Package Contents#

class wispr_analysis.stationary_point.StationaryPointState(epsilon=np.nan, delta_phi=np.nan, beta=np.nan, v_sc=np.nan, v_pxy=np.nan, r_sc=np.nan, alpha=np.nan, theta=np.nan, v_pphi=0 * u.m / u.s)#
epsilon#
delta_phi#
beta#
v_sc#
v_pxy#
r_sc#
v_pphi#
property v_pxy_constr1#
property v_a#
property v_p#
property v_prxy#
property v_pr#
property v_z#
property d_xy#
property d_p_sc#
property r_pxy#
property r_p#
property d_z#
property alpha#
property theta#
property gamma_prime#
property gamma#
property psi#
property dalpha_dt#
property kappa#
property delta#
copy()#
class wispr_analysis.stationary_point.DivergingStationaryPointState(epsilon=np.nan, delta_phi=np.nan, beta=np.nan, v_sc=np.nan, v_pxy=np.nan, r_sc=np.nan, alpha=np.nan, theta=np.nan, v_pphi=0 * u.m / u.s)#

Bases: StationaryPointState

property v_pxy_constr1#
property d_xy#
property v_a#
property r_pxy#
abstract property gamma_prime#
property gamma#
property beta_prime#
property delta#
class wispr_analysis.stationary_point.ConstraintsResult#
delta_phi_c1: astropy.units.Quantity#
v_pxy_c1: astropy.units.Quantity#
delta_phi_c2: astropy.units.Quantity#
v_pxy_c2: astropy.units.Quantity#
delta_phi_c3: astropy.units.Quantity#
v_pxy_c3: astropy.units.Quantity#
vxy2vp: None#
vp2vxy: None#
dphi_grid: astropy.units.Quantity#
vpxy_grid: astropy.units.Quantity#
dalpha_dt_err: astropy.units.Quantity#
con_state: StationaryPointState#
div_state: StationaryPointState#
measured_angles: MeasuredAngles#
con_div_divider_x: numpy.ndarray#
con_div_divider_y: numpy.ndarray#
get_intersect_vxy(return_all=False)#
plot(vel_in_plane=True, mark_intersect=True, ax=None, show_full_c2=False, show_con_div_divider=False)#
property v_p_c1#
property v_p_c2#
property v_p_c3#
class wispr_analysis.stationary_point.ThreeConstraintsResult#
delta_phi_c1: astropy.units.Quantity#
theta_c1: astropy.units.Quantity#
delta_phi_c2: astropy.units.Quantity#
theta_c2: astropy.units.Quantity#
dphi_grid: astropy.units.Quantity#
theta_grid: astropy.units.Quantity#
alpha_grid: astropy.units.Quantity#
dalpha_dt_grid: astropy.units.Quantity#
con_state: StationaryPointState#
div_state: StationaryPointState#
measured_angles: MeasuredAngles#
get_intersect(return_all=False)#
plot(mark_intersect=True, ax=None, show_alpha_grid=False, show_dalpha_dt_grid=False)#
wispr_analysis.stationary_point.measurements_to_states(measured_angles, vphi=0 * u.km / u.s)#
wispr_analysis.stationary_point.calc_constraints(measured_angles, cutoff_c2_variants=True, vphi=0 * u.km / u.s)#
wispr_analysis.stationary_point.calc_three_constraints(measured_angles, vphi=0 * u.km / u.s)#
class wispr_analysis.stationary_point.InteractiveClicker(frames, wcs, times, plot_opts={})#
frames#
wcs#
plot_opts#
times#
clicked_alphas#
clicked_lons#
clicked_times = []#
show()#
conclude()#
class wispr_analysis.stationary_point.AutoClicker(frames, wcs, times, plot_opts={})#

Bases: InteractiveClicker

A variant of InteractiveClicker that automatically “clicks” the peak pixel.

Results can be collected with conclude.

frames#
wcs#
plot_opts#
times#
clicked_alphas#
clicked_lons#
clicked_times#
abstract show()#
class wispr_analysis.stationary_point.MeasuredAngles#
stationary_point: astropy.units.Quantity#
stationary_point_std: astropy.units.Quantity#
alpha: astropy.units.Quantity#
dalpha_dt: astropy.units.Quantity#
alpha_cov_matrix: numpy.ndarray#
t0: astropy.units.Quantity#
tstart: astropy.units.Quantity#
tstop: astropy.units.Quantity#
__str__()#
class wispr_analysis.stationary_point.InferredValues#
vp: astropy.units.Quantity#
vpxy: astropy.units.Quantity#
delta_phi: astropy.units.Quantity#
rp: astropy.units.Quantity#
theta: astropy.units.Quantity#
wispr_analysis.stationary_point.find_uncertainty(measured_angles, n_samples=1000, progress_bar=True)#