corrections(mom)
This commit is contained in:
parent
5f99ab12e4
commit
6fd9cf67a3
9 changed files with 251 additions and 185 deletions
|
@ -265,10 +265,13 @@ def perform_bandwidth_normalization(plot_data, plot_config):
|
|||
|
||||
for step in plot_data['steps']:
|
||||
y_data = step[plot_config['y_key']]
|
||||
|
||||
y_adjust = y_data[0] - plot_config.get('bandwidth_zero', 0)
|
||||
|
||||
new_y_data = []
|
||||
|
||||
for datapoint in y_data:
|
||||
new_y_data.append(datapoint - y_data[0])
|
||||
new_y_data.append(datapoint - y_adjust)
|
||||
|
||||
step[plot_config['y_key']] = new_y_data
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue