Module Expr Str ImportFrom alias alias alias Import alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias Assign NameStore NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore TupleLoad TupleLoad Num NameLoad TupleLoad NameLoad Num TupleLoad NameLoad NameLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num For TupleStore NameStore NameStore NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If BinOpSub NameLoad NameLoad body Expr TupleLoad NameLoad BinOpDiv BinOpSub NameLoad NameLoad NameLoad NameLoad Expr TupleLoad NameLoad BinOpDiv BinOpSub NameLoad NameLoad NameLoad NameLoad orelse Expr TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad Num NameLoad If BoolOpAnd CompareEq NameLoad Num CompareLt NameLoad Num CompareGt NameLoad Num body Expr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Continue Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr TupleLoad NameLoad NameLoad Num If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num body Expr TupleLoad NameLoad NameLoad Num Continue Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr TupleLoad NameLoad CompareGtE NameLoad NameLoad Expr TupleLoad NameLoad CompareLtE NameLoad NameLoad If CompareEq NameLoad Num body If CompareGt NameLoad Num body Expr TupleLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad orelse Expr TupleLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad Continue If CompareGtE Call NameLoad NameLoad Call NameLoad NameLoad body Expr TupleLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad orelse Expr TupleLoad NameLoad BinOpDiv NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body For TupleStore NameStore NameStore TupleLoad TupleLoad ListLoad ListLoad Num Num Num ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad ListLoad ListLoad UnaryOpUSub AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad BinOpAdd Call AttributeLoad NameLoad attr TupleLoad Num Num Num AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr Num Num ListLoad Num AttributeLoad NameLoad attr Num TupleLoad Num Num TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr Num ListLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad ListLoad ListLoad UnaryOpUSub AttributeLoad NameLoad attr Num ListLoad AttributeLoad NameLoad attr Num TupleLoad Num Num TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr Num ListLoad Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad ListLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad ListLoad AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad ListLoad UnaryOpUSub AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad ListLoad AttributeLoad NameLoad attr Num TupleLoad Num Num TupleLoad ListLoad UnaryOpUSub AttributeLoad NameLoad attr Num TupleLoad Num Num TupleLoad ListLoad ListLoad ListLoad TupleLoad AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num keyword AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num keyword AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad ListLoad Num Num Num Num TupleLoad Num Num TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr BinOpSub Num Num Num ListLoad Num AttributeLoad NameLoad attr BinOpAdd Num Num TupleLoad Num Num TupleLoad ListLoad ListLoad AttributeLoad NameLoad attr Num BinOpSub Num Num ListLoad BinOpAdd Num Num AttributeLoad NameLoad attr Num TupleLoad BinOpAdd Num Num BinOpSub Num Num body Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad keyword NameLoad BinOpAdd NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad BinOpAdd NameLoad TupleLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num attr ListLoad TupleLoad Str Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad ListLoad Num Num keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad TupleLoad Num Num NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad ListLoad Num Num keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad TupleLoad Num Num NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad ListLoad Num Num keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad TupleLoad Num Num NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad ListLoad Num Num keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Call NameLoad ListLoad Num Num keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad TupleLoad Num Num NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad Num Num Num Num Num Num Expr Call NameLoad NameLoad NameLoad keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad Num Num Num Num Num Num Expr Call NameLoad NameLoad NameLoad keyword Num keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad Num Num Num Num Num Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad ListLoad Num Num With Call AttributeLoad NameLoad attr keyword Str body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad ListLoad Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameStore TupleLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign TupleStore SubscriptStore NameLoad Index Num SubscriptStore NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If UnaryOpNot CompareIs NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Continue Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpDiv NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLtE Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body For TupleStore NameStore NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call NameLoad NameLoad NameLoad For TupleStore NameStore NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body With Call NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If UnaryOpNot CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call NameLoad BinOpMod Str NameLoad Return orelse Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num NameLoad Assign SubscriptStore NameLoad Index Num BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index Num BinOpAdd NameLoad Num Assign NameStore Call NameLoad TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Return Expr Call NameLoad NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareEq NameLoad AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list
N/A N/A  Test for scaling / rounding in volumeutils module  __future__ division print_function absolute_import N/A numpy np externals.six BytesIO volumeutils calculate_scale scale_min_max finite_range apply_read_scaling array_to_file array_from_file casting type_info testing suppress_warnings numpy.testing assert_array_almost_equal assert_array_equal nose.tools assert_true assert_equal assert_raises assert_not_equal N/A DEBUG True test_scale_min_max N/A N/A N/A N/A N/A mx_dt N/A N/A np maximum_sctype N/A np float N/A tp N/A N/A N/A np sctypes N/A uint N/A N/A np sctypes N/A int N/A N/A info N/A N/A np iinfo tp N/A imin N/A N/A np array N/A info min dtype mx_dt N/A imax N/A N/A np array N/A info max dtype mx_dt N/A value_pairs N/A N/A 0 imax N/A imin 0 N/A imin imax N/A 1 10 N/A -1 -1 N/A 1 1 N/A -10 -1 N/A -100 10 N/A N/A mn mx value_pairs N/A N/A N/A scale inter N/A scale_min_max mn mx tp True N/A N/A mx mn N/A N/A N/A assert_array_almost_equal N/A N/A mx inter scale imax N/A N/A assert_array_almost_equal N/A N/A mn inter scale imin N/A N/A N/A assert_equal N/A scale inter N/A 1.0 mn N/A N/A N/A imin 0 N/A mn 0 N/A mx 0 N/A N/A N/A assert_raises ValueError scale_min_max mn mx tp False N/A N/A N/A scale inter N/A scale_min_max mn mx tp False N/A N/A assert_equal inter 0.0 N/A N/A N/A mn 0 N/A mx 0 N/A N/A N/A assert_equal scale 1.0 N/A N/A sc_mn N/A mn scale N/A sc_mx N/A mx scale N/A N/A assert_true N/A sc_mn imin N/A N/A assert_true N/A sc_mx imax N/A N/A imin 0 N/A N/A N/A mx 0 N/A N/A N/A assert_array_almost_equal N/A mx scale imax N/A N/A N/A assert_array_almost_equal N/A mn scale imax N/A N/A N/A N/A abs mx N/A abs mn N/A N/A N/A assert_array_almost_equal N/A mx scale imax N/A N/A N/A assert_array_almost_equal N/A mn scale imin N/A test_finite_range N/A N/A N/A N/A N/A N/A in_arr res N/A N/A N/A N/A -1 0 1 N/A N/A np inf N/A np nan N/A N/A np inf N/A -1 1 N/A N/A N/A np array N/A N/A -1 0 1 N/A N/A np inf N/A np nan N/A N/A np inf N/A -1 1 N/A N/A N/A N/A np nan N/A N/A np nan N/A N/A np inf N/A N/A np inf N/A N/A N/A N/A np zeros N/A 3 4 5 N/A np nan N/A N/A np inf N/A N/A np inf N/A N/A N/A N/A N/A np inf N/A N/A np inf N/A N/A np inf N/A N/A np inf N/A N/A N/A N/A np zeros N/A 3 4 5 N/A np inf N/A N/A np inf N/A N/A np inf N/A N/A N/A N/A np nan -1 2 N/A -2 N/A np nan 1 N/A -2 2 N/A N/A N/A N/A np nan N/A N/A np inf 2 N/A -2 N/A np nan N/A np inf N/A -2 2 N/A N/A N/A N/A N/A np inf 2 N/A N/A np nan 1 N/A 1 2 N/A N/A N/A N/A np nan N/A N/A np inf 2 N/A -2 N/A np nan N/A np inf N/A -2 2 N/A N/A N/A np nan N/A N/A np inf N/A N/A np inf N/A N/A N/A np inf N/A N/A np inf N/A N/A np inf N/A N/A N/A N/A np inf N/A N/A np inf N/A N/A np inf N/A N/A N/A np inf 1 N/A 1 1 N/A N/A N/A N/A np inf 1 N/A 1 1 N/A N/A N/A N/A N/A N/A np inf N/A N/A np inf N/A N/A N/A np array N/A N/A -3 0 1 N/A 2 -1 4 dtype N/A np int N/A -3 4 N/A N/A N/A np array N/A N/A 1 0 1 N/A 2 3 4 dtype N/A np uint N/A 0 4 N/A N/A 0.0 1 2 3 N/A 0 3 N/A N/A N/A N/A np nan N/A -1 100j 2 N/A -2 N/A np nan N/A 1 100j N/A -2 2 N/A N/A N/A N/A np nan -1 N/A 2 100j N/A N/A -2 100j N/A np nan 1 N/A N/A -2 100j N/A 2 100j N/A N/A N/A assert_equal N/A finite_range in_arr res N/A N/A assert_equal N/A finite_range in_arr False res N/A N/A assert_equal N/A finite_range in_arr check_nan False res N/A has_nan N/A N/A np any N/A N/A np isnan in_arr N/A N/A assert_equal N/A finite_range in_arr True N/A res N/A has_nan N/A N/A assert_equal N/A finite_range in_arr check_nan True N/A res N/A has_nan N/A in_arr N/A N/A np array in_arr N/A flat_arr N/A N/A in_arr ravel N/A N/A assert_equal N/A finite_range flat_arr res N/A N/A assert_equal N/A finite_range flat_arr True N/A res N/A has_nan N/A N/A N/A N/A in_arr dtype kind f N/A N/A c_arr N/A N/A in_arr astype N/A np complex N/A N/A assert_equal N/A finite_range c_arr res N/A N/A assert_equal N/A finite_range c_arr True N/A res N/A has_nan N/A a N/A N/A N/A N/A np array N/A N/A 1.0 0 1 N/A 2 3 4 view N/A N/A f1 f N/A N/A assert_raises TypeError finite_range a N/A test_calculate_scale N/A N/A N/A N/A N/A npa N/A np array N/A res N/A calculate_scale N/A npa N/A -2 -1 dtype N/A np int8 N/A np uint8 True N/A N/A assert_equal res N/A 1.0 -2.0 None None N/A res N/A calculate_scale N/A npa N/A -2 -1 dtype N/A np int8 N/A np uint8 0 N/A N/A assert_equal res N/A -1.0 0.0 None None N/A res N/A calculate_scale N/A npa N/A -1 1 dtype N/A np int8 N/A np uint8 1 N/A N/A assert_equal res N/A 1.0 -1.0 None None N/A N/A assert_raises ValueError calculate_scale N/A npa N/A -1 1 dtype N/A np int8 N/A np uint8 0 N/A res N/A calculate_scale N/A npa N/A -1 255 dtype N/A np int16 N/A np uint8 1 N/A N/A assert_not_equal res N/A 1.0 -1.0 None None N/A test_a2f_mn_mx N/A N/A N/A N/A N/A str_io N/A BytesIO N/A out_type N/A N/A np int16 N/A np float32 N/A N/A arr N/A N/A np arange 6 dtype out_type N/A arr_orig N/A N/A arr copy N/A N/A array_to_file arr str_io N/A data_back N/A array_from_file N/A arr shape out_type str_io N/A N/A assert_array_equal arr data_back N/A N/A array_to_file arr str_io mn 2 N/A data_back N/A array_from_file N/A arr shape out_type str_io N/A N/A assert_array_equal arr arr_orig N/A N/A assert_array_equal data_back N/A 2 2 2 3 4 5 N/A N/A array_to_file arr str_io mx 4 N/A data_back N/A array_from_file N/A arr shape out_type str_io N/A N/A assert_array_equal arr arr_orig N/A N/A assert_array_equal data_back N/A 0 1 2 3 4 4 N/A N/A array_to_file arr str_io mn 2 mx 4 N/A data_back N/A array_from_file N/A arr shape out_type str_io N/A N/A assert_array_equal arr arr_orig N/A N/A assert_array_equal data_back N/A 2 2 2 3 4 4 N/A test_a2f_nan2zero N/A N/A N/A N/A N/A arr N/A N/A np array N/A N/A np nan 99.0 dtype N/A np float32 N/A str_io N/A BytesIO N/A N/A array_to_file arr str_io N/A data_back N/A array_from_file N/A arr shape N/A np float32 str_io N/A N/A assert_array_equal N/A N/A np isnan data_back N/A True False N/A N/A array_to_file arr str_io nan2zero True N/A data_back N/A array_from_file N/A arr shape N/A np float32 str_io N/A N/A assert_array_equal N/A N/A np isnan data_back N/A True False N/A N/A N/A np errstate invalid ignore N/A N/A N/A array_to_file arr str_io N/A np int32 nan2zero True N/A data_back N/A array_from_file N/A arr shape N/A np int32 str_io N/A N/A assert_array_equal data_back N/A 0 99 N/A N/A N/A np errstate invalid ignore N/A N/A N/A array_to_file arr str_io N/A np int32 nan2zero False N/A data_back N/A array_from_file N/A arr shape N/A np int32 str_io N/A N/A assert_array_equal data_back N/A N/A N/A N/A N/A np array N/A np nan astype N/A np int32 99 N/A test_array_file_scales N/A N/A N/A N/A N/A bio N/A BytesIO N/A N/A in_type out_type err N/A N/A N/A np int16 N/A np int16 None N/A N/A np int16 N/A np int8 None N/A N/A np uint16 N/A np uint8 None N/A N/A np int32 N/A np int8 None N/A N/A np float32 N/A np uint8 None N/A N/A np float32 N/A np int16 None N/A N/A out_dtype N/A N/A np dtype out_type N/A arr N/A N/A np zeros N/A 3 dtype in_type N/A info N/A type_info in_type N/A N/A N/A arr N/A 0 N/A arr N/A 1 N/A N/A info N/A min N/A info N/A max N/A N/A N/A err None N/A N/A N/A assert_raises err calculate_scale arr out_dtype True N/A N/A N/A slope inter mn mx N/A calculate_scale arr out_dtype True N/A N/A array_to_file arr bio out_type 0 inter slope mn mx N/A N/A N/A bio seek 0 N/A arr2 N/A array_from_file N/A arr shape out_dtype bio N/A arr3 N/A apply_read_scaling arr2 slope inter N/A max_miss N/A slope 2.0 N/A N/A assert_true N/A N/A np all N/A N/A N/A np abs N/A arr arr3 max_miss N/A N/A N/A bio truncate 0 N/A N/A N/A bio seek 0 N/A test_scaling_in_abstract N/A N/A N/A N/A N/A N/A category0 category1 N/A N/A int int N/A uint int N/A N/A in_type N/A N/A np sctypes N/A category0 N/A N/A out_type N/A N/A np sctypes N/A category1 N/A N/A N/A check_int_a2f in_type out_type N/A N/A category0 category1 N/A N/A float int N/A float uint N/A complex int N/A complex uint N/A N/A in_type N/A N/A np sctypes N/A category0 N/A N/A out_type N/A N/A np sctypes N/A category1 N/A N/A N/A suppress_warnings N/A N/A N/A check_int_a2f in_type out_type N/A check_int_a2f N/A N/A in_type out_type N/A N/A N/A big_floater N/A N/A np maximum_sctype N/A np float N/A info N/A type_info in_type N/A N/A this_min this_max N/A N/A info N/A min N/A info N/A max N/A N/A N/A in_type N/A N/A np sctypes N/A complex N/A N/A data N/A N/A np array N/A this_min this_max in_type N/A N/A N/A N/A np all N/A N/A np isfinite data N/A N/A DEBUG N/A N/A N/A print N/A Hit PPC max -> inf bug; skip in_type %s in_type N/A N/A N/A data N/A N/A np zeros N/A 2 in_type N/A N/A data N/A 0 N/A this_min 0j N/A N/A data N/A 1 N/A this_max 0j N/A str_io N/A BytesIO N/A N/A N/A N/A scale inter mn mx N/A calculate_scale data out_type True N/A N/A N/A ValueError N/A e N/A N/A DEBUG N/A N/A N/A print in_type out_type e N/A N/A N/A array_to_file data str_io out_type 0 inter scale mn mx N/A data_back N/A array_from_file N/A data shape out_type str_io N/A data_back N/A apply_read_scaling data_back scale inter N/A N/A assert_true N/A N/A np allclose N/A big_floater data N/A big_floater data_back N/A scale32 N/A N/A np float32 scale N/A inter32 N/A N/A np float32 inter N/A N/A N/A scale32 N/A np inf N/A inter32 N/A np inf N/A N/A N/A data_back N/A array_from_file N/A data shape out_type str_io N/A data_back N/A apply_read_scaling data_back scale32 inter32 N/A info N/A type_info in_type N/A N/A out_min out_max N/A N/A info N/A min N/A info N/A max N/A N/A assert_true N/A N/A np allclose N/A big_floater data N/A big_floater N/A N/A np clip data_back out_min out_max N/A