Giter VIP home page Giter VIP logo

metamoth's People

Contributors

deepsource-autofix[bot] avatar deepsourcebot avatar mbsantiago avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

metamoth's Issues

1.6.0 parser does not parse low pass filters

Description

The COMMENT_REGEX_1_6_0 regex is incorrect.

COMMENT_REGEX_1_6_0 = re.compile(
r"Recorded at "
r"(\d{2}:\d{2}:\d{2} \d{2}\/\d{2}\/\d{4}) " # date time
r"\(UTC([\+\-]?\d{0,2}:?\d{0,2})\) " # timezone
r"(during deployment [0-9A-z]{16}|by AudioMoth [0-9A-z]{16}) "
r"(using external microphone )?"
r"at (low|low-medium|medium|medium-high|high) gain " # gain
"while battery was "
r"(less than 2\.5|greater than 4\.9|\d\.\d)V " # battery state
r"and temperature was (-?\d{1,2}\.\d)C." # temperature
r"( Amplitude threshold was (?:\d{1,4}|\d{1,4}\.?\d{0,4}%|-?\d{1,4} dB) "
r"with \d{1,4}s minimum trigger duration\.)?" # threshold
r"( Band-pass filter applied with cut-off frequencies of \d{1,4}\.\dkHz "
r"and \d{1,4}\.\dkHz\.| Low-pass filter applied with cut-off frequency of "
r"\d{1,4}\.\dkHz\."
r"| High-pass filter applied with cut-off frequency of \d{1,4}\.\dkHz\.)?"
r"( Recording stopped due to (low voltage|microphone change"
r"|switch position change|file size limit)\.)?"

The 1.5.0 to 1.6.0 diff from audiomoth:

image

OpenAcousticDevices/AudioMoth-Firmware-Basic@1.5.0...1.6.0#diff-a0cb465674c1b01a07d361f25a0ef2b0214b7dfe9412b7777f89add956da10ecL328-L338

You can see the word applied is moved to after the frequency value

What I Did

N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.