def split_and_filter_furby_params(self):
    if (self.inj_furbys < 1):
        raise ValueError('No furbies to split')
    f_ids = N.array(self.furby_ids.split(','))
    f_beams = N.array(self.furby_beams.split(','))
    f_tstamps = N.array(self.furby_tstamps.split(','))
    f_ids = f_ids[N.where((f_ids != ''))]
    f_beams = f_beams[N.where((f_beams != ''))]
    f_tstamps = f_tstamps[N.where((f_tstamps != ''))]
    test = N.array([len(f_ids), len(f_beams), len(f_tstamps)])
    if N.any((test - self.inj_furbys)):
        raise ValueError('Incorrect number of furby params, observation should have failed')
    self.furbies = []
    self.dropped_furbies = []
    for i in range(self.inj_furbys):
        furby = Furby(f_ids[i], db=os.path.join(self.archives_dir, self.utc, 'Furbys'))
        furby.i_beam = int(f_beams[i])
        furby.i_tstamp = float(f_tstamps[i])
        furby.calc_times()
        if self.check_if_dropped(furby):
            self.dropped_furbies.append(furby)
        else:
            self.furbies.append(furby)
def split_and_filter_furby_params(self):
    if (self.inj_furbys < 1):
        raise ValueError('No furbies to split')
    f_ids = N.array(self.furby_ids.split(','))
    f_beams = N.array(self.furby_beams.split(','))
    f_tstamps = N.array(self.furby_tstamps.split(','))
    f_ids = f_ids[N.where((f_ids != ))]
    f_beams = f_beams[N.where((f_beams != ))]
    f_tstamps = f_tstamps[N.where((f_tstamps != ))]
    test = N.array([len(f_ids), len(f_beams), len(f_tstamps)])
    if N.any((test - self.inj_furbys)):
        raise ValueError('Incorrect number of furby params, observation should have failed')
    self.furbies = []
    self.dropped_furbies = []
    for i in range(self.inj_furbys):
        furby = Furby(f_ids[i], db=os.path.join(self.archives_dir, self.utc, 'Furbys'))
        furby.i_beam = int(f_beams[i])
        furby.i_tstamp = float(f_tstamps[i])
        furby.calc_times()
        if self.check_if_dropped(furby):
            self.dropped_furbies.append(furby)
        else:
            self.furbies.append(furby)