Create quality flag from magnetometer
el_paso.processing.create_quality_flag_from_magnetometer
Functions:
el_paso.processing.create_quality_flag_from_magnetometer.create_quality_flag_from_magnetometer
create_quality_flag_from_magnetometer
Compute a quality mask for magnetometer data using Bt.
The mask flags samples that are considered valid based on two criteria: 1. Magnetic field magnitude (Bt) must be positive. 2. Consecutive differences |ΔBt| must be below the spike threshold.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bt_var
|
Variable
|
Variable holding the total magnetic field. |
required |
threshold
|
int
|
Spike detection threshold in nT. Defaults to 500. |
500
|
Returns:
| Type | Description |
|---|---|
Variable
|
ep.Variable: A boolean mask variable where |
Variable
|
|
Source code in el_paso/processing/create_quality_flag_from_magnetometer.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |