Classes | |
| class | Scan | 
Functions | |
| def | desired_ant | 
| def | get_mean | 
Variables | |
| tuple | bins = (XBINS,YBINS) | 
| tuple | bins_ind_x = np.sum( xy[0][:,np.newaxis] > xedges[:-1], axis = 1 ) | 
| tuple | bins_ind_y = np.sum( xy[1][:,np.newaxis] > yedges[:-1], axis = 1 ) | 
| tuple | d_new = pkl.load( f ) | 
| list | dist = npstats[2] | 
| tuple | f = open( yaml_fname ) | 
| tuple | fnames = reduce( lambda x,y: x+y, [ glob.glob(i) for i in yaml_config['glob_files'] ], [] ) | 
| string | help = 'yaml file that describes this run.' | 
| list | herr = npstats[5] | 
| tuple | ind_d = np.sum( dist[:,np.newaxis] > bins_d[:-1], axis=1) | 
| tuple | ind_r = np.sum( rssi[:,np.newaxis] > bins_r[:-1], axis=1) | 
| tuple | magherr = np.abs( herr ) | 
| tuple | magherr_md = np.array([ np.mean( magherr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
| tuple | magherr_mr = np.array([ np.mean( magherr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
| tuple | magherr_sd = np.array([ np.std( magherr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
| tuple | magherr_sr = np.array([ np.std( magherr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
| tuple | magherr_Z = np.ma.array( np.copy(H.T), mask=(H.T < 1) ) | 
| tuple | magserr = np.abs( serr ) | 
| tuple | magserr_md = np.array([ np.mean( magserr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
| tuple | magserr_mr = np.array([ np.mean( magserr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
| tuple | magserr_sd = np.array([ np.std( magserr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
| tuple | magserr_sr = np.array([ np.std( magserr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
| tuple | magserr_Z = np.ma.array( np.copy(H.T), mask=(H.T < 1) ) | 
| tuple | npstats = np.array( stats ) | 
| tuple | num_d = np.array([ len( np.where( ind_d == i )[0] ) for i in xrange(len(h_d)) ]) | 
| tuple | num_r = np.array([ len( np.where( ind_r == i )[0] ) for i in xrange(len(h_r)) ]) | 
| tuple | p = optparse.OptionParser() | 
| PLOT = False | |
| list | range | 
| list | rssi = npstats[3] | 
| list | scans = [] | 
| list | serr = npstats[7] | 
| int | skipped = 0 | 
| tuple | sr = string.rfind( f, '/' ) | 
| list | stats = [] | 
| int | XBINS = 9 | 
| float | XMAX = 11.0 | 
| float | XMIN = 0.0 | 
| tuple | xy | 
| tuple | yaml_config = yaml.load( f ) | 
| yaml_fname = opt.yaml | |
| int | YBINS = 5 | 
| float | YMAX = 7.0 | 
| float | YMIN = 0.0 | 
| def process_dir_estimate.desired_ant | ( | r | ) | 
Definition at line 51 of file process_dir_estimate.py.
| def process_dir_estimate.get_mean | ( | xi, | |
| yi, | |||
| darr | |||
| ) | 
Definition at line 316 of file process_dir_estimate.py.
| tuple process_dir_estimate::bins = (XBINS,YBINS) | 
Definition at line 308 of file process_dir_estimate.py.
| tuple process_dir_estimate::bins_ind_x = np.sum( xy[0][:,np.newaxis] > xedges[:-1], axis = 1 ) | 
Definition at line 313 of file process_dir_estimate.py.
| tuple process_dir_estimate::bins_ind_y = np.sum( xy[1][:,np.newaxis] > yedges[:-1], axis = 1 ) | 
Definition at line 314 of file process_dir_estimate.py.
| tuple process_dir_estimate::d_new = pkl.load( f ) | 
Definition at line 148 of file process_dir_estimate.py.
Definition at line 209 of file process_dir_estimate.py.
| tuple process_dir_estimate::f = open( yaml_fname ) | 
Definition at line 47 of file process_dir_estimate.py.
| tuple process_dir_estimate::fnames = reduce( lambda x,y: x+y, [ glob.glob(i) for i in yaml_config['glob_files'] ], [] ) | 
Definition at line 137 of file process_dir_estimate.py.
| string process_dir_estimate::help = 'yaml file that describes this run.' | 
Definition at line 32 of file process_dir_estimate.py.
Definition at line 188 of file process_dir_estimate.py.
| tuple process_dir_estimate::ind_d = np.sum( dist[:,np.newaxis] > bins_d[:-1], axis=1) | 
Definition at line 211 of file process_dir_estimate.py.
| tuple process_dir_estimate::ind_r = np.sum( rssi[:,np.newaxis] > bins_r[:-1], axis=1) | 
Definition at line 216 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr = np.abs( herr ) | 
Definition at line 189 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr_md = np.array([ np.mean( magherr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
Definition at line 220 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr_mr = np.array([ np.mean( magherr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
Definition at line 229 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr_sd = np.array([ np.std( magherr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
Definition at line 221 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr_sr = np.array([ np.std( magherr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
Definition at line 230 of file process_dir_estimate.py.
| tuple process_dir_estimate::magherr_Z = np.ma.array( np.copy(H.T), mask=(H.T < 1) ) | 
Definition at line 324 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr = np.abs( serr ) | 
Definition at line 199 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr_md = np.array([ np.mean( magserr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
Definition at line 224 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr_mr = np.array([ np.mean( magserr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
Definition at line 233 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr_sd = np.array([ np.std( magserr[ np.where( ind_d == i )[0] ]) for i in xrange(len(h_d)) ]) | 
Definition at line 225 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr_sr = np.array([ np.std( magserr[ np.where( ind_r == i )[0] ]) for i in xrange(len(h_r)) ]) | 
Definition at line 234 of file process_dir_estimate.py.
| tuple process_dir_estimate::magserr_Z = np.ma.array( np.copy(H.T), mask=(H.T < 1) ) | 
Definition at line 325 of file process_dir_estimate.py.
| tuple process_dir_estimate::npstats = np.array( stats ) | 
Definition at line 183 of file process_dir_estimate.py.
| tuple process_dir_estimate::num_d = np.array([ len( np.where( ind_d == i )[0] ) for i in xrange(len(h_d)) ]) | 
Definition at line 212 of file process_dir_estimate.py.
| tuple process_dir_estimate::num_r = np.array([ len( np.where( ind_r == i )[0] ) for i in xrange(len(h_r)) ]) | 
Definition at line 217 of file process_dir_estimate.py.
| tuple process_dir_estimate::p = optparse.OptionParser() | 
Definition at line 30 of file process_dir_estimate.py.
Definition at line 27 of file process_dir_estimate.py.
00001 [[XMIN,XMAX], 00002 [YMIN,YMAX]]
Definition at line 309 of file process_dir_estimate.py.
Definition at line 214 of file process_dir_estimate.py.
Definition at line 144 of file process_dir_estimate.py.
Definition at line 198 of file process_dir_estimate.py.
| int process_dir_estimate::skipped = 0 | 
Definition at line 155 of file process_dir_estimate.py.
| tuple process_dir_estimate::sr = string.rfind( f, '/' ) | 
Definition at line 177 of file process_dir_estimate.py.
Definition at line 156 of file process_dir_estimate.py.
| int process_dir_estimate::XBINS = 9 | 
Definition at line 297 of file process_dir_estimate.py.
| float process_dir_estimate::XMAX = 11.0 | 
Definition at line 300 of file process_dir_estimate.py.
| float process_dir_estimate::XMIN = 0.0 | 
Definition at line 299 of file process_dir_estimate.py.
| tuple process_dir_estimate::xy | 
00001 np.row_stack([ npstats[0], 00002 npstats[1] ])
Definition at line 304 of file process_dir_estimate.py.
| tuple process_dir_estimate::yaml_config = yaml.load( f ) | 
Definition at line 48 of file process_dir_estimate.py.
| string process_dir_estimate::yaml_fname = opt.yaml | 
Definition at line 37 of file process_dir_estimate.py.
| int process_dir_estimate::YBINS = 5 | 
Definition at line 298 of file process_dir_estimate.py.
| float process_dir_estimate::YMAX = 7.0 | 
Definition at line 302 of file process_dir_estimate.py.
| float process_dir_estimate::YMIN = 0.0 | 
Definition at line 301 of file process_dir_estimate.py.