Module ImportFrom alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpDiv BinOpAdd BinOpMult BinOpSub NameLoad NameLoad NameLoad BinOpMult BinOpSub NameLoad NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Num keyword Str keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str body Return If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Return If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Return If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str body Return If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Num body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Str body Return If CompareEq AttributeLoad NameLoad attr Num body Return If CompareEq AttributeLoad NameLoad attr Num body Return Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Return If CompareEq AttributeLoad NameLoad attr Num body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMult Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad ListLoad NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr ListLoad NameLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Expr Call AttributeLoad NameLoad attr TupleLoad Num Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Assign AttributeStore NameLoad attr NameLoad TryExcept body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str ImportFrom alias Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Import alias identifier Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Import alias identifier Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword TupleLoad Num Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpDiv SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num Num Assign NameStore Call NameLoad BinOpDiv SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num Num Assign NameStore Call NameLoad BinOpDiv SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice NameLoad Slice NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index BinOpBitAnd UnaryOpInvert Call AttributeLoad NameLoad attr NameLoad UnaryOpInvert Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index BinOpBitAnd UnaryOpInvert Call AttributeLoad NameLoad attr NameLoad UnaryOpInvert Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad BinOpSub NameLoad NameLoad BinOpAdd NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad BinOpDiv SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num ImportFrom alias Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index AttributeLoad NameLoad attr Slice Slice keyword Str keyword Str keyword SubscriptLoad AttributeLoad NameLoad attr Index Num keyword SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Assign AttributeStore NameLoad attr Call NameLoad keyword TupleLoad Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Str keyword Str TryExcept body Assign NameStore Call NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Return ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Import alias identifier Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Index AttributeLoad NameLoad attr Slice Slice Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareGt NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore NameLoad attr TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list
N/A __future__ print_function N/A os N/A math N/A warnings N/A numpy np matplotlib.collections LineCollection matplotlib.transforms Bbox matplotlib.patches Polygon geometry.path Path get_endpoints N/A extract_pv_slice distance N/A N/A x1 y1 x2 y2 x3 y3 N/A N/A N/A 
    Find the shortest distance between a point (x3, y3) and the line passing
    through the points (x1, y1) and (x2, y2).
     N/A px N/A x2 x1 N/A py N/A y2 y1 N/A something N/A N/A px px N/A py py N/A u N/A N/A N/A N/A x3 x1 px N/A N/A y3 y1 py N/A float something N/A x N/A x1 N/A u px N/A y N/A y1 N/A u py N/A dx N/A x x3 N/A dy N/A y y3 N/A dist N/A N/A math sqrt N/A N/A dx dx N/A dy dy N/A dist N/A MovableSliceBox N/A object N/A __init__ N/A N/A self box callback N/A N/A N/A N/A self box box N/A N/A self press None N/A N/A self background None N/A N/A self point_counter 0 N/A N/A self callback callback N/A N/A self mode 0 N/A N/A self show_poly False N/A N/A self cidpress N/A N/A N/A N/A N/A self box figure canvas mpl_connect draw_event N/A self draw_slicer N/A connect N/A N/A self N/A N/A N/A N/A self cidpress N/A N/A N/A N/A N/A self box figure canvas mpl_connect key_press_event N/A self key_press N/A N/A self cidpress N/A N/A N/A N/A N/A self box figure canvas mpl_connect button_press_event N/A self on_press N/A N/A self cidmotion N/A N/A N/A N/A N/A self box figure canvas mpl_connect motion_notify_event N/A self on_motion N/A draw_slicer N/A N/A self event N/A N/A N/A axes N/A N/A self box axes N/A canvas N/A N/A N/A self box figure canvas N/A N/A N/A N/A N/A self box axes draw_artist N/A self box N/A N/A self show_poly N/A N/A path N/A Path N/A zip N/A N/A self box x N/A N/A self box y N/A N/A path width N/A N/A self box width N/A patches N/A N/A path to_patches 1 ec green fc none transform N/A N/A N/A self box axes transData clip_on True clip_box N/A N/A N/A self box axes bbox N/A patch patches N/A N/A N/A N/A N/A N/A self box axes draw_artist patch N/A on_press N/A N/A self event N/A N/A N/A N/A N/A N/A N/A N/A N/A self box figure canvas toolbar mode N/A N/A N/A N/A N/A event inaxes N/A N/A self box axes N/A N/A N/A N/A N/A self mode 1 N/A N/A N/A N/A self callback N/A self box N/A N/A self mode 1 N/A N/A N/A N/A self mode 2 N/A N/A N/A N/A self box x N/A N/A N/A N/A self box y N/A N/A N/A self mode 0 N/A N/A self point_counter 0 N/A N/A self press N/A N/A event xdata N/A event ydata N/A N/A self point_counter 1 N/A axes N/A N/A self box axes N/A canvas N/A N/A N/A self box figure canvas N/A N/A N/A self point_counter 1 N/A N/A N/A N/A N/A N/A self box x append N/A event xdata N/A N/A N/A N/A N/A self box x append N/A event xdata N/A N/A N/A N/A N/A self box y append N/A event ydata N/A N/A N/A N/A N/A self box y append N/A event ydata N/A N/A N/A self box width 0.0 N/A N/A N/A N/A self box set_animated True N/A N/A N/A canvas draw N/A N/A self background N/A N/A canvas copy_from_bbox N/A N/A N/A self box axes bbox N/A N/A N/A N/A self mode 0 N/A N/A N/A N/A N/A N/A self box x append N/A event xdata N/A N/A N/A N/A N/A self box y append N/A event ydata N/A N/A N/A N/A self box _update_segments N/A N/A N/A axes draw_artist N/A self box N/A N/A N/A canvas blit N/A axes bbox N/A key_press N/A N/A self event N/A N/A N/A N/A N/A N/A N/A N/A N/A self box figure canvas toolbar mode N/A N/A N/A N/A N/A N/A event key enter N/A N/A self mode 0 N/A N/A N/A self mode 1 N/A N/A N/A self box x N/A N/A N/A self box x N/A -1 N/A N/A N/A self box y N/A N/A N/A self box y N/A -1 N/A N/A N/A N/A event key y N/A N/A self mode 2 N/A N/A N/A self show_poly N/A N/A self show_poly N/A N/A N/A self draw_slicer event N/A N/A N/A N/A N/A N/A self box figure canvas draw N/A on_motion N/A N/A self event N/A N/A N/A N/A N/A N/A N/A N/A N/A self box figure canvas toolbar mode N/A N/A N/A N/A N/A self point_counter 0 N/A N/A N/A N/A N/A self mode 2 N/A N/A N/A canvas N/A N/A N/A self box figure canvas N/A axes N/A N/A self box axes N/A N/A N/A canvas restore_region N/A self background N/A N/A N/A event inaxes N/A N/A self box axes N/A N/A N/A N/A N/A self mode 0 N/A N/A N/A N/A N/A self box x N/A -1 N/A event xdata N/A N/A N/A N/A self box y N/A -1 N/A event ydata N/A N/A N/A N/A self mode 1 N/A N/A N/A N/A self box width N/A N/A distance N/A N/A N/A self box x N/A -2 N/A N/A N/A self box y N/A -2 N/A N/A N/A self box x N/A -1 N/A N/A N/A self box y N/A -1 N/A event xdata N/A event ydata 2 N/A N/A N/A N/A self box _update_segments N/A N/A N/A axes draw_artist N/A self box N/A N/A N/A canvas blit N/A axes bbox N/A disconnect N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self box figure canvas mpl_disconnect N/A self cidpress N/A N/A N/A N/A N/A N/A self box figure canvas mpl_disconnect N/A self cidmotion N/A N/A SliceCurve N/A LineCollection N/A __init__ N/A N/A self x y width N/A N/A N/A None kwargs N/A N/A N/A N/A N/A super SliceCurve self __init__ N/A kwargs N/A N/A self x x N/A N/A self y y N/A N/A self width width N/A N/A N/A self _update_segments N/A _update_segments N/A N/A self N/A N/A N/A N/A N/A self x N/A N/A N/A N/A x1 y1 x2 y2 N/A get_endpoints N/A self x N/A self y N/A self width N/A line N/A zip N/A self x N/A self y N/A rect N/A zip N/A N/A np hstack N/A x1 N/A x2 N/A -1 N/A x1 N/A 0 N/A N/A np hstack N/A y1 N/A y2 N/A -1 N/A y1 N/A 0 N/A N/A N/A self set_segments N/A N/A list line N/A list rect N/A N/A N/A self set_linestyles N/A solid dashed N/A N/A N/A self set_linewidths N/A 2 1 N/A N/A PVSlicer N/A object N/A __init__ N/A N/A self filename backend clim N/A Qt4Agg None N/A N/A N/A self filename filename N/A N/A spectral_cube SpectralCube N/A cube N/A N/A SpectralCube read filename format fits N/A N/A self array N/A cube _data N/A N/A N/A N/A N/A N/A warnings warn spectral_cube package is not available - using astropy.io.fits directly astropy.io fits N/A N/A self array N/A N/A fits getdata filename N/A N/A N/A N/A self array ndim 3 N/A N/A N/A ValueError dataset does not have 3 dimensions (install the spectral_cube package to avoid this error) N/A N/A self backend backend N/A matplotlib mpl N/A N/A N/A mpl use N/A self backend N/A matplotlib.pyplot plt N/A N/A self fig N/A N/A plt figure figsize N/A 14 8 N/A N/A self ax1 N/A N/A N/A self fig add_axes N/A 0.1 0.1 0.4 0.7 N/A N/A clim None N/A N/A N/A N/A warnings warn clim not defined and will be determined from the data N/A n1 N/A max N/A N/A N/A N/A self array shape N/A 0 10 1 N/A n2 N/A max N/A N/A N/A N/A self array shape N/A 1 10 1 N/A n3 N/A max N/A N/A N/A N/A self array shape N/A 2 10 1 N/A sub_array N/A N/A self array N/A N/A n1 N/A n2 N/A n3 N/A cmin N/A N/A np min N/A sub_array N/A N/A N/A N/A N/A np isnan sub_array N/A N/A N/A np isinf sub_array N/A cmax N/A N/A np max N/A sub_array N/A N/A N/A N/A N/A np isnan sub_array N/A N/A N/A np isinf sub_array N/A crange N/A cmax cmin N/A N/A self _clim N/A N/A cmin crange N/A cmax crange N/A N/A N/A self _clim clim N/A N/A self slice N/A int N/A round N/A N/A N/A N/A self array shape N/A 0 2.0 matplotlib.widgets Slider N/A N/A self slice_slider_ax N/A N/A N/A self fig add_axes N/A 0.1 0.95 0.4 0.03 N/A N/A N/A N/A self slice_slider_ax set_xticklabels N/A N/A N/A N/A self slice_slider_ax set_yticklabels N/A N/A self slice_slider N/A Slider N/A self slice_slider_ax 3-d slice 0 N/A N/A N/A self array shape N/A 0 valinit N/A self slice valfmt %i N/A N/A N/A N/A self slice_slider on_changed N/A self update_slice N/A N/A N/A self slice_slider drawon False N/A N/A self image N/A N/A N/A self ax1 imshow N/A N/A self array N/A N/A N/A self slice N/A N/A origin lower interpolation nearest vmin N/A N/A self _clim N/A 0 vmax N/A N/A self _clim N/A 1 cmap N/A N/A plt cm gray N/A N/A self vmin_slider_ax N/A N/A N/A self fig add_axes N/A 0.1 0.9 0.4 0.03 N/A N/A N/A N/A self vmin_slider_ax set_xticklabels N/A N/A N/A N/A self vmin_slider_ax set_yticklabels N/A N/A self vmin_slider N/A Slider N/A self vmin_slider_ax vmin N/A N/A self _clim N/A 0 N/A N/A self _clim N/A 1 valinit N/A N/A self _clim N/A 0 N/A N/A N/A N/A self vmin_slider on_changed N/A self update_vmin N/A N/A N/A self vmin_slider drawon False N/A N/A self vmax_slider_ax N/A N/A N/A self fig add_axes N/A 0.1 0.85 0.4 0.03 N/A N/A N/A N/A self vmax_slider_ax set_xticklabels N/A N/A N/A N/A self vmax_slider_ax set_yticklabels N/A N/A self vmax_slider N/A Slider N/A self vmax_slider_ax vmax N/A N/A self _clim N/A 0 N/A N/A self _clim N/A 1 valinit N/A N/A self _clim N/A 1 N/A N/A N/A N/A self vmax_slider on_changed N/A self update_vmax N/A N/A N/A self vmax_slider drawon False N/A N/A self grid1 None N/A N/A self grid2 None N/A N/A self grid3 None N/A N/A self ax2 N/A N/A N/A self fig add_axes N/A 0.55 0.1 0.4 0.7 N/A N/A self box N/A SliceCurve colors N/A 0.8 0.0 0.0 N/A N/A N/A N/A self ax1 add_collection N/A self box N/A N/A self movable N/A MovableSliceBox N/A self box callback N/A self update_pv_slice N/A N/A N/A N/A self movable connect matplotlib.widgets Button N/A N/A self save_button_ax N/A N/A N/A self fig add_axes N/A 0.65 0.9 0.2 0.05 N/A N/A self save_button N/A Button N/A self save_button_ax Save slice to FITS N/A N/A N/A N/A self save_button on_clicked N/A self save_fits N/A N/A self file_status_text N/A N/A N/A self fig text 0.75 0.875 ha center va center N/A N/A N/A self set_file_status None N/A N/A N/A self set_file_status None N/A N/A self pv_slice None N/A N/A self cidpress N/A N/A N/A N/A self fig canvas mpl_connect button_press_event N/A self click N/A set_file_status N/A N/A self status filename N/A None N/A N/A N/A status instructions N/A N/A N/A N/A N/A self file_status_text set_text Please enter filename in terminal N/A N/A N/A N/A self file_status_text set_color red N/A N/A N/A status saved N/A N/A N/A N/A N/A self file_status_text set_text N/A N/A File successfully saved to {0} format filename N/A N/A N/A N/A self file_status_text set_color green N/A N/A N/A N/A N/A self file_status_text set_text N/A N/A N/A N/A self file_status_text set_color black N/A N/A N/A N/A N/A self fig canvas draw N/A click N/A N/A self event N/A N/A N/A N/A N/A event inaxes N/A self ax2 N/A N/A N/A N/A N/A N/A self slice_slider set_val N/A event ydata N/A save_fits N/A N/A self N/A args kwargs N/A N/A N/A N/A self set_file_status instructions N/A N/A print Enter filename:  end N/A N/A N/A plot_name N/A raw_input N/A N/A N/A NameError N/A N/A plot_name N/A input N/A N/A N/A self pv_slice None N/A N/A astropy.io fits N/A N/A N/A N/A self pv_slice writeto plot_name clobber True N/A N/A print Saved file to:  plot_name N/A N/A N/A self set_file_status saved filename plot_name N/A update_pv_slice N/A N/A self box N/A N/A N/A path N/A Path N/A zip N/A box x N/A box y N/A N/A path width N/A box width N/A N/A self pv_slice N/A extract_pv_slice N/A self array path N/A N/A N/A N/A self ax2 cla N/A N/A N/A N/A self ax2 imshow N/A N/A self pv_slice data origin lower aspect auto interpolation nearest N/A N/A N/A N/A N/A self fig canvas draw N/A show N/A N/A self block N/A True N/A N/A matplotlib.pyplot plt N/A N/A N/A plt show block block N/A update_slice N/A N/A self pos N/A None N/A N/A N/A N/A N/A self array ndim 2 N/A N/A N/A N/A N/A self image set_array N/A self array N/A N/A N/A self slice N/A int N/A round pos N/A N/A N/A N/A self image set_array N/A N/A self array N/A N/A N/A self slice N/A N/A N/A N/A N/A N/A N/A self fig canvas draw N/A update_vmin N/A N/A self vmin N/A N/A N/A N/A vmin N/A N/A self _clim N/A 1 N/A N/A N/A self _clim N/A N/A N/A self _clim N/A 1 N/A N/A self _clim N/A 1 N/A N/A N/A self _clim N/A vmin N/A N/A self _clim N/A 1 N/A N/A N/A N/A self image set_clim N/A self _clim N/A N/A N/A N/A N/A self fig canvas draw N/A update_vmax N/A N/A self vmax N/A N/A N/A N/A vmax N/A N/A self _clim N/A 0 N/A N/A N/A self _clim N/A N/A N/A self _clim N/A 0 N/A N/A self _clim N/A 0 N/A N/A N/A self _clim N/A N/A N/A self _clim N/A 0 vmax N/A N/A N/A N/A self image set_clim N/A self _clim N/A N/A N/A N/A N/A self fig canvas draw N/A N/A