second_filter_ats: Two Hit Filter for ATS Detections

View source: R/second_filter_ats.R

second_filter_atsR Documentation

Two Hit Filter for ATS Detections

Description

This function takes an ATS detection dataframe generated from the add_fish() function and filters it a second time to remove any remaining multipath detections, and then check the remaining detections by comparing the time between each detection to ensure it is less 4x the stated pulse rate interval. It additionally checks that all detections have a frequency between 416.3 and 418.75 kHz and that the frequency of all detections are within 0.505kHz of each other. Called by second_filter_2h4h().

Usage

second_filter_ats(fish_file)

Arguments

fish_file

a dataframe of detections retrieved from add_fish()

Value

A dataframe which has been filtered to remove false positives

Examples

# Apply the ATS filter to a prefiltered dataset with fish and tag
# attributes
second_filter_ats(filter_fish_detects)

filteRjsats documentation built on April 10, 2023, 5:07 p.m.