hibou.filters.h_quality#

hibou.filters.h_quality(inputs: DataFrame, targets: DataFrame, bad_value: int = 2)#

Only keep Targets.H values whose Targets.H_QUALITY_FLAG is strictly less than bad_value.

Parameters#

inputspd.DataFrame

The pd.DataFrame that contains the inputs data.

targetspd.DataFrame

The pd.DataFrame that contains the targets data.

bad_valueint, optionnal,

By default: 2. The value of Targets.H_QUALITY_FLAG above which the data will be ignored.

Variables used#

  • Targets.H_QUALITY_FLAG