bumps,temperatures,vibrations,calibration_config,k,k_s = calib_load(
filename, group+'calibration/')
if bumps is None:
- bumps = [None]*calibration_config['num-bumps']
+ bumps = _numpy.zeros(
+ (calibration_config['num-bumps'],), dtype=float)
if temperatures is None:
- temperatures = [None]*calibration_config['num-temperatures']
+ temperatures = _numpy.zeros(
+ (calibration_config['num-temperatures'],), dtype=float)
if vibrations is None:
- vibrations = [None]*calibration_config['num-vibrations']
+ vibrations = _numpy.zeros(
+ (calibration_config['num-vibrations'],), dtype=float)
changed_bump = changed_temperature = changed_vibration = False
for i in range(calibration_config['num-bumps']):
bump_group = '%sbump/%d/' % (group, i)