{"id":17860146,"url":"https://github.com/dbetchkal/deriveddatafunctions","last_synced_at":"2026-01-21T14:11:47.449Z","repository":{"id":160105461,"uuid":"91362226","full_name":"dbetchkal/derivedDataFunctions","owner":"dbetchkal","description":"Functions to calculate acoustical metrics from standard NPS derived data files","archived":false,"fork":false,"pushed_at":"2023-09-22T00:10:48.000Z","size":126,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-11T10:43:53.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbetchkal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-15T16:52:12.000Z","updated_at":"2022-03-01T01:52:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2da5862a-96ca-4fd9-a4b9-c76562f56abb","html_url":"https://github.com/dbetchkal/derivedDataFunctions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbetchkal/derivedDataFunctions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbetchkal%2FderivedDataFunctions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbetchkal%2FderivedDataFunctions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbetchkal%2FderivedDataFunctions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbetchkal%2FderivedDataFunctions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbetchkal","download_url":"https://codeload.github.com/dbetchkal/derivedDataFunctions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbetchkal%2FderivedDataFunctions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28634791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T07:22:46.593Z","updated_at":"2026-01-21T14:11:47.435Z","avatar_url":"https://github.com/dbetchkal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# derivedDataFunctions\nFunctions to calculate acoustical metrics from standard NPS derived data files\n\n## Functions contained in this module:\n\n\n#### AMPLITUDE METRICS FROM SRCID\n```python\nquantile_amplitude(srcid, q, metric = \"Lmax\", weight = \"A\", source = \"all\")\n\nmad_amplitude(srcid, metric = \"Lmax\", weight = \"A\", source = \"all\")\n\niqr_amplitude(srcid, metric = \"Lmax\", weight = \"A\", source = \"all\")\n\nmean_amplitude(srcid, metric = \"Lmax\", weight = \"A\", source = \"all\")\n\nstdev_amplitude(srcid, metric = \"Lmax\", weight = \"A\", source = \"all\")\n\nstderr_amplitude(srcid, metric = \"Lmax\", weight = \"A\", source = \"all\")\n```\n______\n\n#### DURATION METRICS FROM SRCID\n```python\ntotal_event_duration(srcid, source = \"all\")\n\nquantile_event_duration(srcid, q, source = \"all\")\n\nmad_event_duration(srcid, source = \"all\")\n\niqr_event_duration(srcid, source = \"all\")\n\nmean_event_duration(srcid, source = \"all\")\n\nstdev_event_duration(srcid, source = \"all\")\n\nstderr_event_duration(srcid, source = \"all\")\n\ntotal_audible_dur_hourly(dailypa, hour, source = \"all\")\n\nmean_audible_duration_hourly(dailypa, hour, source = \"all\")\n```\n______\n\n#### COUNT METRICS FROM SRCID\n```python\ntotal_count(srcid, source = \"all\")\n\npercentageOfAll_bySource(srcid, id_code)\n\npercentageOfAir_bySource(srcid, id_code)\n\npropJetRatio(srcid)\n\nDENABCMP_SPL_exceedance(srcid, zone, source = \"all\")\n\nDENABCMP_SPL_exceedanceRate(srcid, zone, source = \"all\")\n```\n______\n\n#### DATASET DESCRIPTION METRICS FROM SRCID\n```python\nnumber_of_days_splatted(srcid)\n\ndays_splatted(srcid)\n\nSPLAT_center_date(srcid)\n```\n______\n\n#### NOISE FREE INTERVAL\n```python\nmean_NFI(srcid, source = \"all\", unit=\"hours\")\n\nquantile_NFI(srcid, q, source = \"all\", unit=\"hours\")\n\nNFI_list(srcid, source = \"all\", unit=\"hours\")\n```\n______\n\n#### PERCENT TIME AUDIBLE METRICS FROM DAILYPA\n```python\nquantile_hourlyPA(dailypa, q, hour, source = \"all\")\n\nquantile_dailyPA(dailypa, q, source = \"all\")\n\nDENABCMP_PA_exceedance_all(dailypa, zone, start_hour = 0, end_hour = 23, source = \"all\")\n\noverall_PA(dailypa, source = \"all\")\n```\n______\n\n#### EVENT RATE, COUNT, AND SATURATION METRICS FROM DAILYPA\n```python\nquantile_eventsPerDay(dailypa, q, source = \"all\")\n\ntotal_events(dailypa, source = \"all\")\n\nevent_saturation(dailypa, start_hour = 0, end_hour = 23, source = \"all\")\n```\n______\n\n#### EVENT RATES ABOVE AMBIENT FROM LOUDEVENTS\n```python\nDENABCMP_events_exceedance(loudevents, zone)\n\nquantile_eventRate_overAmbient(loudevents, q)\n\nmean_eventRate_overAmbient(loudevents)\n\nstdev_eventRate_overAmbient(loudevents)\n\nstderr_eventRate_overAmbient(loudevents)\n```\n______\n\n#### STANDARD ACOUSTIC EXCEEDANCE METRICS\n```python\nL90(metrics, season=\"Summer\", weight = \"A\")\n\nLnat(metrics, season=\"Summer\", weight = \"A\")\n\nL50(metrics, season=\"Summer\", weight = \"A\")\n\nL10(metrics, season=\"Summer\", weight = \"A\")\n\nLeq(metrics, season=\"Summer\", weight = \"A\")\n\nLdn(metrics, season=\"Summer\", weight = \"A\")\n\nLx(nvspl, x, dBA_only=True)\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbetchkal%2Fderiveddatafunctions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbetchkal%2Fderiveddatafunctions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbetchkal%2Fderiveddatafunctions/lists"}