def __init__(self, name, data):
    self.name = name
    self.raw_data = data
    self.label = name
    self.processed_data = None
    self.expt_type = None
    self.current_data = None
    self.potential_data = None
    self.overpotential_data = None
    self.logcurrent_data = None
    self.realcurrent_data = None
    self.imagcurrent_data = None
    self.error_data = None
    self.area = 1
    self.refelec = 0
    self.thermo_potential = 0
    self.tafel_slope = None
    self.exchg_curr = None
    self.tafel_rsq = None
    self.semicircle_params = None
    self.linearfit_params = None
    self.hfr = None
    self.hfr_linear = None
    self.lfr = None
    self.eis_current = None
    self.line = None
    self.errcaps = None
    self.errbars = None
def __init__(self, name, data):
    self.name = name
    self.raw_data = data
    self.label = name
    self.processed_data = None
    self.expt_type = None
    self.current_data = None
    self.potential_data = None
    self.overpotential_data = None
    self.logcurrent_data = None
    self.realcurrent_data = None
    self.imagcurrent_data = None
    self.error_data = None
    self.area = 1
    self.refelec = 0
    self.thermo_potential = 0
    self.tafel_slope = None
    self.exchg_curr = None
    self.tafel_rsq = None
    self.semicircle_params = None
    self.linearfit_params = None
    self.hfr = None
    self.hfr_linear = None
    self.lfr = None
    self.eis_current = None
    self.line = None
    self.errcaps = None
    self.errbars = None