Module Import alias Import alias Import alias identifier Import alias identifier Import alias identifier Expr Str Assign NameStore ListLoad Str Str Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad NameLoad ExtSlice Ellipsis Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str Str Str Str Str Str keyword Dict Str NameLoad TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore BinOpSub Num Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore BinOpMult AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv UnaryOpUSub BinOpAdd BinOpPow BinOpSub NameLoad Num Num BinOpPow BinOpSub NameLoad Num Num NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list For NameStore NameLoad body Print BinOpMod Str NameLoad Print If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Print BinOpMod Str TupleLoad BinOpAdd NameLoad Num NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod NameLoad NameLoad Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad
N/A N/A load_data N/A pysex N/A numpy np N/A multiprocessing mp N/A cPickle pickle N/A 
Extract a bunch of extra info to get a better idea of the size of objects
 N/A SUBSETS N/A train test N/A TARGET_PATTERN data/pysex_params_gen2_%s.npy.gz N/A SIGMA2 5000 N/A DETECT_THRESH 2.0 N/A NUM_PROCESSES 8 estimate_params N/A N/A img N/A N/A N/A img_green N/A img N/A N/A N/A 1 N/A out N/A N/A pysex run img_green params N/A X_IMAGE Y_IMAGE A_IMAGE B_IMAGE THETA_IMAGE PETRO_RADIUS conf_args N/A DETECT_THRESH DETECT_THRESH N/A N/A N/A ys N/A N/A N/A out N/A X_IMAGE tonumpy N/A xs N/A N/A N/A out N/A Y_IMAGE tonumpy N/A as_ N/A N/A N/A out N/A A_IMAGE tonumpy N/A bs N/A N/A N/A out N/A B_IMAGE tonumpy N/A thetas N/A 90 N/A N/A N/A out N/A THETA_IMAGE tonumpy N/A petro_radii N/A N/A N/A out N/A PETRO_RADIUS tonumpy N/A surface_areas N/A N/A np pi N/A as_ bs N/A centralities N/A N/A np exp N/A N/A N/A N/A N/A xs 211.5 2 N/A N/A ys 211.5 2 SIGMA2 N/A saliences N/A surface_areas centralities N/A most_salient_idx N/A N/A np argmax saliences N/A x N/A xs N/A most_salient_idx N/A y N/A ys N/A most_salient_idx N/A a N/A as_ N/A most_salient_idx N/A b N/A bs N/A most_salient_idx N/A theta N/A thetas N/A most_salient_idx N/A petro_radius N/A petro_radii N/A most_salient_idx N/A N/A N/A TypeError N/A N/A x 211.5 N/A y 211.5 N/A a N/A np nan N/A b N/A np nan N/A theta N/A np nan N/A petro_radius N/A np nan N/A N/A x y a b theta petro_radius N/A N/A subset SUBSETS N/A N/A N/A SUBSET: %s subset N/A N/A N/A subset train N/A N/A num_images N/A load_data num_train N/A ids N/A load_data train_ids N/A N/A N/A subset test N/A N/A num_images N/A load_data num_test N/A ids N/A load_data test_ids process N/A N/A k N/A N/A N/A N/A image %d/%d (%s) N/A N/A k 1 num_images subset N/A img_id N/A ids N/A k N/A img N/A N/A load_data load_image img_id from_ram True subset subset N/A N/A estimate_params img N/A N/A pool N/A N/A mp Pool NUM_PROCESSES N/A estimated_params N/A N/A pool map process N/A xrange num_images chunksize 100 N/A N/A N/A pool close N/A N/A N/A pool join N/A params_array N/A N/A np array estimated_params N/A target_path N/A TARGET_PATTERN subset N/A N/A Saving to %s... target_path N/A N/A N/A load_data save_gz target_path params_array