Skip to content

Commit

Permalink
Tools: update offline sensor calibration script
Browse files Browse the repository at this point in the history
Fix typographical error
  • Loading branch information
priseborough committed Feb 6, 2017
1 parent f68e34c commit a51255b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/process_sensor_caldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def is_valid_directory(parser, arg):
}

# curve fit the data for accel 0 corrections
if num_accel >= 1:
if num_accels >= 1:
accel_0_params['TC_A0_ID'] = int(np.median(sensor_accel_0['device_id']))

# find the min, max and reference temperature
Expand Down Expand Up @@ -519,7 +519,7 @@ def is_valid_directory(parser, arg):
}

# curve fit the data for accel 1 corrections
if num_accel >= 2:
if num_accels >= 2:
accel_1_params['TC_A1_ID'] = int(np.median(sensor_accel_1['device_id']))

# find the min, max and reference temperature
Expand Down

0 comments on commit a51255b

Please sign in to comment.