Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 2.37 KB

5-defrag.rst

File metadata and controls

55 lines (32 loc) · 2.37 KB

Defragmentation

Occasionally, filters can become 'fragmented' and erroneously omit or include lots of small data fragments. For example, if a signal oscillates either side of a threshold value. The defragmentation filter provides a way to either include incorrectly removed missing data regions, or exclude data in fragmented regions.

Notice how this filter has removed lots of small data regions, where Al27 oscillates around the threshold value.

If you think these regions should be included in the selection, the defragmentation filter can be used in 'include' mode to create a contiguous data selection:

This identifies all regions removed by the currently active filters that are 10 points or less in length, and includes them in the data selection.

If, on the other hand, the proximity of Al27 in this sample to the threshold value might suggest contamination, you can use 'exclude' mode to remove small regions of selected data.

This removes all fragments fragments of selected data that are 10-points or less, and removes them.

  • ~latools.latools.analyse.trace_plots with option filt=True creates plots of all data, showing which regions are selected/rejected by the active filters.
  • ~latools.latools.analyse.filter_on and ~latools.latools.analyse.filter_off turn filters on or off.
  • ~latools.latools.analyse.filter_clear deletes all filters.