The Thomson scattering diagnostic offers a method by which to infer plasma parameters such as n_e, T_e. This approach uses the form factor equations to estimate those plasma parameters by fitting to observed Thomson scattering spectra.
Error
inverse-thomson-scattering/inverse_thomson_scattering/evaluate_background.py", line 174, in get_lineout_bg
:, BackgroundPixel - config["data"]["dpixel"] : BackgroundPixel + config["data"]["dpixel"]
TypeError: unsupported operand type(s) for -: 'list' and 'int'
Possible Fix
"/inverse_thomson_scattering/lineouts.py b/inverse_thomson_scattering/lineouts.py", line 29
From BackgroundPixel = []
To BackgroundPixel = 0
Error
"/inverse-thomson-scattering/inverse_thomson_scattering/evaluate_background.py", line 103, in get_lineout_bg
if config["data"]["background"]["show"]:
KeyError: 'show'
Possible Fix
add
[data][background][show] to inputs.yaml
or
remove lines 103-106
Error inverse-thomson-scattering/inverse_thomson_scattering/evaluate_background.py", line 174, in get_lineout_bg :, BackgroundPixel - config["data"]["dpixel"] : BackgroundPixel + config["data"]["dpixel"] TypeError: unsupported operand type(s) for -: 'list' and 'int'
Possible Fix "/inverse_thomson_scattering/lineouts.py b/inverse_thomson_scattering/lineouts.py", line 29 From BackgroundPixel = [] To BackgroundPixel = 0
Error "/inverse-thomson-scattering/inverse_thomson_scattering/evaluate_background.py", line 103, in get_lineout_bg if config["data"]["background"]["show"]: KeyError: 'show'
Possible Fix add [data][background][show] to inputs.yaml or remove lines 103-106