Module Import alias Import alias Import alias Import alias TryExcept body Import alias identifier Import alias identifier Import alias identifier Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult BinOpMult BinOpDiv Num BinOpMult SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpDiv UnaryOpUSub BinOpPow BinOpSub NameLoad SubscriptLoad NameLoad Index Num Num BinOpMult Num BinOpPow SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore ListLoad Num BinOpSub NameLoad Num NameLoad Assign NameStore Lambda arguments args NameParam NameParam NameParam defaults BinOpSub Call NameLoad NameLoad NameLoad NameLoad With AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Slice keyword TupleLoad NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMult BinOpMult Num Call AttributeLoad NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr Num NameLoad Return TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad Num Assign NameStore BinOpMult NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad attr Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore CompareEq NameLoad NameLoad Assign NameStore CompareGt NameLoad NameLoad Assign SubscriptStore NameLoad Index CompareEq NameLoad Num Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore BinOpDiv BinOpSub BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Assign NameStore BinOpDiv BinOpSub BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Num BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad Num BinOpAdd NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Num BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad Num BinOpAdd NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Slice NameLoad BinOpAdd NameLoad Num Slice NameLoad BinOpAdd NameLoad Num Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Num BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad Num BinOpAdd NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Num BinOpSub NameLoad NameLoad Call NameLoad BinOpSub NameLoad Num BinOpAdd NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad BinOpAdd NameLoad Num Assign NameStore SubscriptLoad NameLoad ExtSlice Slice NameLoad BinOpAdd NameLoad Num Index NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMult Call NameLoad NameLoad Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num NameLoad NameLoad body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult Call NameLoad NameLoad Num Assign NameStore BinOpDiv Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpMult Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad Str TryExcept body If CompareEq NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad BinOpDiv BinOpAdd NameLoad NameLoad Num orelse Raise Call NameLoad BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Call NameLoad NameLoad Continue Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad BinOpMult NameLoad NameLoad BinOpDiv Num Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpDiv BinOpDiv BinOpMult NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpDiv BinOpDiv BinOpMult NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore BinOpSub Num NameLoad orelse Assign NameStore BinOpSub Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpDiv BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num Num body Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd CompareLt NameLoad AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr NameLoad CompareLt NameLoad AttributeLoad NameLoad attr CompareLt BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr CompareLt BinOpMult NameLoad NameLoad AttributeLoad NameLoad attr CompareGt BinOpMult NameLoad BinOpSub Num NameLoad AttributeLoad NameLoad attr CompareGt BinOpMult NameLoad BinOpSub Num NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num NameLoad Num Num Num Num body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Num Num Num NameLoad Num Num Num Num body Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A math N/A logging N/A numpy N/A threading N/A N/A N/A scipy.optimize optimize N/A scipy.ndimage ndimage N/A scipy.ndimage.filters filters N/A have_scipy True N/A N/A N/A ImportError N/A N/A have_scipy False ginga.misc Bunch get_mean N/A N/A data_np N/A N/A N/A mdata N/A N/A N/A numpy ma masked_array data_np N/A N/A numpy isnan data_np N/A N/A N/A numpy mean mdata N/A get_median N/A N/A data_np N/A N/A N/A mdata N/A N/A N/A numpy ma masked_array data_np N/A N/A numpy isnan data_np N/A N/A N/A numpy median mdata N/A IQCalcError N/A Exception N/A N/A Base exception for raising errors in this module. N/A N/A IQCalc N/A object N/A __init__ N/A N/A self logger N/A None N/A N/A N/A logger N/A N/A logger N/A N/A logging getLogger IQCalc N/A N/A self logger logger N/A N/A self lock N/A N/A threading RLock N/A N/A self skylevel_magnification 1.05 N/A N/A self skylevel_offset 40.0 N/A gaussian N/A N/A self x p N/A N/A N/A Gaussian fitting function in 1D.  Makes a sine function with
        amplitude determined by maxv.  See calc_fwhm().

        p[0]==mean, p[1]==sdev, p[2]=maxv
         N/A y N/A N/A N/A 1.0 N/A N/A p N/A 1 N/A N/A numpy sqrt N/A 2 N/A numpy pi N/A N/A numpy exp N/A N/A N/A N/A x N/A p N/A 0 2 N/A 2 N/A N/A p N/A 1 2 N/A p N/A 2 N/A y N/A calc_fwhm N/A N/A self arr1d medv gauss_fn N/A None None N/A N/A FWHM calculation on a 1D array by using least square fitting of
        a gaussian function on the data.  arr1d is a 1D array cut in either
        X or Y direction on the object.
         N/A N/A gauss_fn N/A N/A gauss_fn N/A self gaussian N/A N N/A len arr1d N/A X N/A N/A numpy array N/A list N/A range N N/A Y arr1d N/A N/A medv None N/A N/A medv N/A N/A numpy median Y N/A Y N/A Y medv N/A maxv N/A N/A Y max N/A Y N/A N/A Y clip 0 maxv N/A p0 N/A 0 N/A N 1 maxv N/A errfunc N/A N/A N/A p x y N/A N/A N/A gauss_fn x p y N/A N/A self lock N/A N/A N/A p1 success N/A N/A optimize leastsq errfunc N/A p0 N/A args N/A X Y N/A N/A success N/A N/A N/A IQCalcError FWHM gaussian fitting failed N/A N/A mu sdev maxv p1 N/A N/A N/A N/A self logger debug N/A mu=%f sdev=%f maxv=%f N/A mu sdev maxv N/A fwhm N/A N/A 2.0 N/A N/A numpy sqrt N/A 2.0 N/A N/A numpy log 2.0 sdev N/A N/A N/A float fwhm N/A float mu N/A float sdev maxv N/A get_fwhm N/A N/A self x y radius data medv N/A None N/A N/A N/A N/A medv None N/A N/A medv N/A N/A numpy median data N/A N/A x0 y0 xarr yarr N/A N/A self cut_cross x y radius data N/A N/A fwhm_x cx sdx maxx N/A N/A self calc_fwhm xarr medv medv N/A N/A fwhm_y cy sdy maxy N/A N/A self calc_fwhm yarr medv medv N/A ctr_x N/A x0 cx N/A ctr_y N/A y0 cy N/A N/A N/A N/A self logger debug N/A fwhm_x,fwhm_y=%f,%f center=%f,%f N/A fwhm_x fwhm_y ctr_x ctr_y N/A N/A fwhm_x fwhm_y ctr_x ctr_y sdx sdy maxx maxy N/A starsize N/A N/A self fwhm_x deg_pix_x fwhm_y deg_pix_y N/A N/A N/A cdelta1 N/A N/A math fabs deg_pix_x N/A cdelta2 N/A N/A math fabs deg_pix_y N/A fwhm N/A N/A N/A fwhm_x cdelta1 N/A fwhm_y cdelta2 2.0 N/A fwhm N/A fwhm 3600.0 N/A fwhm N/A centroid N/A N/A self data xc yc radius N/A N/A N/A N/A x0 y0 arr N/A N/A self cut_region self xc yc radius data N/A N/A cy cx N/A N/A ndimage center_of_mass arr N/A N/A cx cy N/A get_threshold N/A N/A self data sigma N/A 5.0 N/A N/A median N/A N/A numpy median data N/A dist N/A N/A N/A N/A numpy fabs N/A data median mean N/A threshold N/A median N/A sigma dist N/A N/A N/A N/A self logger debug N/A calc threshold=%f threshold N/A threshold N/A find_bright_peaks N/A N/A self data threshold sigma radius N/A None 5 5 N/A N/A 
        Find bright peak candidates in (data).  (threshold) specifies a
        threshold value below which an object is not considered a candidate.
        If threshold is blank, a default is calculated using (sigma).
        (radius) defines a pixel radius for determining local maxima--if the
        desired objects are larger in size, specify a larger radius.

        The routine returns a list of candidate object coordinate tuples
        (x, y) in data.
         N/A N/A threshold None N/A N/A threshold N/A N/A self get_threshold data sigma sigma N/A N/A N/A N/A self logger debug N/A threshold defaults to %f (sigma=%f) N/A threshold sigma N/A data_max N/A N/A filters maximum_filter data radius N/A maxima N/A data data_max N/A diff N/A data_max threshold N/A N/A maxima N/A N/A diff 0 0 N/A N/A labeled num_objects N/A N/A ndimage label maxima N/A slices N/A N/A ndimage find_objects labeled N/A peaks N/A N/A N/A dy dx slices N/A N/A xc N/A N/A N/A N/A dx start N/A dx stop 1 2.0 N/A yc N/A N/A N/A N/A dy start N/A dy stop 1 2.0 N/A N/A N/A peaks append N/A xc yc N/A peaks N/A cut_region N/A N/A self x y radius data N/A N/A N/A Return a cut region (radius) pixels away from (x, y) in (data).
         N/A n radius N/A N/A ht wd N/A data shape N/A N/A x0 x1 N/A N/A max 0 N/A x n N/A min N/A wd 1 N/A x n N/A N/A y0 y1 N/A N/A max 0 N/A y n N/A min N/A ht 1 N/A y n N/A arr N/A data N/A N/A y0 N/A y1 1 N/A x0 N/A x1 1 N/A N/A x0 y0 arr N/A cut_cross N/A N/A self x y radius data N/A N/A N/A Cut two data subarrays that have a center at (x, y) and with
        radius (radius) from (data).  Returns the starting pixel (x0, y0)
        of each cut and the respective arrays (xarr, yarr).
         N/A n radius N/A N/A ht wd N/A data shape N/A N/A x0 x1 N/A N/A max 0 N/A x n N/A min N/A wd 1 N/A x n N/A N/A y0 y1 N/A N/A max 0 N/A y n N/A min N/A ht 1 N/A y n N/A xarr N/A data N/A N/A y N/A x0 N/A x1 1 N/A yarr N/A data N/A N/A y0 N/A y1 1 N/A x N/A N/A x0 y0 xarr yarr N/A brightness N/A N/A self x y radius medv data N/A N/A N/A Return the brightness value found in a region (radius) pixels away
        from (x, y) in (data).
         N/A N/A x0 y0 arr N/A N/A self cut_region x y radius data N/A arr2 N/A N/A numpy sort N/A arr flat N/A idx N/A int N/A N/A len arr2 0.8 N/A res N/A N/A arr2 N/A idx medv N/A N/A float res N/A fwhm_data N/A N/A self x y data radius N/A 15 N/A N/A N/A N/A self get_fwhm x y radius data N/A evaluate_peaks N/A N/A self peaks data bright_radius fwhm_radius fwhm_method cb_fn ev_intr N/A 2 15 1 None None N/A N/A N/A height width N/A data shape N/A hh N/A N/A float height 2.0 N/A ht N/A float height N/A h4 N/A N/A float height 4.0 N/A wh N/A N/A float width 2.0 N/A wd N/A float width N/A w4 N/A N/A float width 4.0 N/A median N/A float N/A N/A numpy median data N/A skylevel N/A N/A median N/A self skylevel_magnification N/A self skylevel_offset N/A objlist N/A N/A N/A x y peaks N/A N/A N/A ev_intr N/A N/A ev_intr isSet N/A N/A N/A IQCalcError Evaluation interrupted! N/A N/A N/A N/A fwhm_method 1 N/A N/A N/A fwhm_x fwhm_y ctr_x ctr_y sdx sdy maxx maxy N/A N/A self fwhm_data x y data radius fwhm_radius N/A bx N/A N/A self gaussian N/A round ctr_x N/A ctr_x sdx maxx N/A by N/A N/A self gaussian N/A round ctr_y N/A ctr_y sdy maxy N/A bright N/A float N/A N/A bx by 2.0 N/A N/A N/A IQCalcError N/A Method (%d) not supported for fwhm calculation! fwhm_method N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger debug N/A Error doing FWHM on object at %.2f,%.2f: %s N/A x y N/A str e N/A N/A N/A N/A N/A self logger debug N/A orig=%f,%f  ctr=%f,%f  fwhm=%f,%f bright=%f N/A x y ctr_x ctr_y fwhm_x fwhm_y bright N/A fwhm N/A N/A N/A math sqrt N/A N/A fwhm_x fwhm_x N/A fwhm_y fwhm_y N/A 1.0 N/A N/A math sqrt 2.0 N/A elipse N/A N/A math fabs N/A N/A min fwhm_x fwhm_y N/A max fwhm_x fwhm_y N/A dx N/A wh ctr_x N/A dy N/A hh ctr_y N/A dx2 N/A N/A N/A dx dx wd w4 N/A dy2 N/A N/A N/A dy dy ht h4 N/A N/A dx2 dy2 N/A N/A pos N/A 1.0 dx2 N/A N/A pos N/A 1.0 dy2 N/A obj N/A N/A Bunch Bunch objx ctr_x objy ctr_y pos pos fwhm_x fwhm_x fwhm_y fwhm_y fwhm fwhm fwhm_radius fwhm_radius brightness bright elipse elipse x N/A int x y N/A int y skylevel skylevel background median N/A N/A N/A objlist append obj N/A N/A cb_fn None N/A N/A N/A cb_fn obj N/A objlist N/A _sortkey N/A N/A self obj N/A N/A N/A val N/A N/A N/A obj brightness N/A obj pos N/A N/A math sqrt N/A obj fwhm N/A val N/A objlist_select N/A N/A self objlist width height minfwhm maxfwhm minelipse edgew N/A 2.0 150.0 0.5 0.01 N/A N/A results N/A N/A count 0 N/A obj objlist N/A N/A count 1 N/A N/A N/A N/A self logger debug N/A %d obj x,y=%.2f,%.2f fwhm=%.2f bright=%.2f N/A count N/A obj objx N/A obj objy N/A obj fwhm N/A obj brightness N/A N/A N/A minfwhm N/A obj fwhm N/A N/A obj fwhm maxfwhm N/A minelipse N/A obj elipse N/A N/A width edgew N/A obj x N/A N/A height edgew N/A obj y N/A N/A width N/A 1.0 edgew N/A obj x N/A N/A height N/A 1.0 edgew N/A obj y N/A N/A N/A N/A results append obj N/A N/A N/A results sort key N/A self _sortkey reverse True N/A results N/A pick_field N/A N/A self data peak_radius bright_radius fwhm_radius threshold minfwhm maxfwhm minelipse edgew N/A 5 2 15 None 2.0 50.0 0.5 0.01 N/A N/A N/A height width N/A data shape N/A peaks N/A N/A self find_bright_peaks data radius peak_radius threshold threshold N/A N/A N/A N/A self logger debug N/A peaks=%s N/A str peaks N/A N/A N/A len peaks 0 N/A N/A N/A IQCalcError Cannot find bright peaks N/A objlist N/A N/A self evaluate_peaks peaks data bright_radius bright_radius fwhm_radius fwhm_radius N/A N/A N/A len objlist 0 N/A N/A N/A IQCalcError Error evaluating bright peaks N/A results N/A N/A self objlist_select objlist width height minfwhm minfwhm maxfwhm maxfwhm minelipse minelipse edgew edgew N/A N/A N/A len results 0 N/A N/A N/A IQCalcError No object matches selection criteria N/A N/A results N/A 0 N/A qualsize N/A N/A self image x1 y1 x2 y2 radius bright_radius fwhm_radius threshold minfwhm maxfwhm minelipse edgew N/A None None None None 5 2 15 None 2.0 50.0 0.5 0.01 N/A N/A N/A x1 y1 x2 y2 N/A N/A int x1 N/A int y1 N/A int x2 N/A int y2 N/A data N/A N/A image cutout_data x1 y1 x2 y2 astype float32 N/A qs N/A N/A self pick_field data peak_radius radius bright_radius bright_radius fwhm_radius fwhm_radius threshold threshold minfwhm minfwhm maxfwhm maxfwhm minelipse minelipse edgew edgew N/A N/A qs x x1 N/A N/A qs y y1 N/A N/A qs objx x1 N/A N/A qs objy y1 N/A N/A N/A N/A self logger debug N/A obj=%f,%f fwhm=%f sky=%f bright=%f N/A N/A qs objx N/A qs objy N/A qs fwhm N/A qs skylevel N/A qs brightness N/A qs N/A N/A