Functions | |
def | add_files |
def | get_mean |
def | get_std |
def | planar_xy |
Variables | |
tuple | all_reads |
tuple | ant_dict = dict.fromkeys( yaml_config['filters']['antennas'] ) |
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 = reduce( add_files, zip(fnames,range(len(fnames))), {} ) |
tuple | data = pkl.load( f ) |
tuple | dma = np.ma.array( d, mask=(d<yaml_config['points_per_loc']) ) |
tuple | dma_det = np.ma.array( np.copy(H_pos.T), mask=(H.T<yaml_config['points_per_loc']) ) |
tuple | dma_rm = np.ma.array( np.copy(H_pos.T), mask=(H_pos.T<yaml_config['rssi_points_per_loc']) ) |
tuple | f = open( yaml_fname ) |
list | filt_reads = [ r for r in all_reads if ant_dict.has_key( r[2][1] ) ] |
list | fname = yaml_config['use_combined'] |
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.' |
tuple | means = np.ma.copy( dma_rm ) |
dictionary | MODEL |
int | neg_mask = 1 |
tuple | p = optparse.OptionParser() |
PLOT = False | |
int | pos_mask = 1 |
list | range |
reads = filt_reads | |
list | rssi = data[2] |
tuple | stddev = np.ma.copy( dma_rm ) |
int | XBINS = 50 |
list | XMAX = yaml_config['rad_histbins'] |
list | XMIN = yaml_config['rad_histbins'] |
list | xy = data[0:2,:] |
tuple | yaml_config = yaml.load( f ) |
yaml_fname = opt.yaml | |
int | YBINS = 50 |
list | YMAX = yaml_config['rad_histbins'] |
list | YMIN = yaml_config['rad_histbins'] |
def rfid_datacapture.process_radpat_plots.add_files | ( | d, | |
arg | |||
) |
Definition at line 67 of file process_radpat_plots.py.
def rfid_datacapture.process_radpat_plots.get_mean | ( | xi, | |
yi | |||
) |
Definition at line 220 of file process_radpat_plots.py.
def rfid_datacapture.process_radpat_plots.get_std | ( | xi, | |
yi | |||
) |
Definition at line 226 of file process_radpat_plots.py.
def rfid_datacapture.process_radpat_plots.planar_xy | ( | reading | ) |
Definition at line 81 of file process_radpat_plots.py.
00001 reduce( lambda x,y: x+y, 00002 [ d[k] for k in yaml_config['filters']['tags'] if d.has_key(k) ], 00003 [] )
Definition at line 112 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::ant_dict = dict.fromkeys( yaml_config['filters']['antennas'] ) |
Definition at line 125 of file process_radpat_plots.py.
Definition at line 152 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::bins_ind_x = np.sum( xy[0][:,np.newaxis] > xedges[:-1], axis = 1 ) |
Definition at line 157 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::bins_ind_y = np.sum( xy[1][:,np.newaxis] > yedges[:-1], axis = 1 ) |
Definition at line 158 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::d = reduce( add_files, zip(fnames,range(len(fnames))), {} ) |
Definition at line 107 of file process_radpat_plots.py.
Definition at line 102 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::dma = np.ma.array( d, mask=(d<yaml_config['points_per_loc']) ) |
Definition at line 162 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::dma_det = np.ma.array( np.copy(H_pos.T), mask=(H.T<yaml_config['points_per_loc']) ) |
Definition at line 198 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::dma_rm = np.ma.array( np.copy(H_pos.T), mask=(H_pos.T<yaml_config['rssi_points_per_loc']) ) |
Definition at line 233 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::f = open( yaml_fname ) |
Definition at line 53 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::filt_reads = [ r for r in all_reads if ant_dict.has_key( r[2][1] ) ] |
Definition at line 126 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::fname = yaml_config['use_combined'] |
Definition at line 273 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::fnames = reduce( lambda x,y: x+y, [ glob.glob(i) for i in yaml_config['glob_files'] ], [] ) |
Definition at line 97 of file process_radpat_plots.py.
string rfid_datacapture::process_radpat_plots::help = 'yaml file that describes this run.' |
Definition at line 35 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::means = np.ma.copy( dma_rm ) |
Definition at line 235 of file process_radpat_plots.py.
00001 { 'detect_model': np.ma.copy( dma_det ), 00002 'rssi_model': np.ma.copy( means ), 00003 'stddev_model': np.ma.copy( stddev ), 00004 'xedges': xedges, # These are necessary to define the boundaries of the bins. 00005 'yedges': yedges }
Definition at line 275 of file process_radpat_plots.py.
Definition at line 146 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::p = optparse.OptionParser() |
Definition at line 33 of file process_radpat_plots.py.
Definition at line 23 of file process_radpat_plots.py.
Definition at line 145 of file process_radpat_plots.py.
00001 [[XMIN,XMAX], 00002 [YMIN,YMAX]]
Definition at line 153 of file process_radpat_plots.py.
Definition at line 128 of file process_radpat_plots.py.
Definition at line 144 of file process_radpat_plots.py.
tuple rfid_datacapture::process_radpat_plots::stddev = np.ma.copy( dma_rm ) |
Definition at line 240 of file process_radpat_plots.py.
Definition at line 59 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::XMAX = yaml_config['rad_histbins'] |
Definition at line 62 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::XMIN = yaml_config['rad_histbins'] |
Definition at line 61 of file process_radpat_plots.py.
Definition at line 143 of file process_radpat_plots.py.
Definition at line 54 of file process_radpat_plots.py.
string rfid_datacapture::process_radpat_plots::yaml_fname = opt.yaml |
Definition at line 40 of file process_radpat_plots.py.
Definition at line 60 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::YMAX = yaml_config['rad_histbins'] |
Definition at line 64 of file process_radpat_plots.py.
list rfid_datacapture::process_radpat_plots::YMIN = yaml_config['rad_histbins'] |
Definition at line 63 of file process_radpat_plots.py.