Skip to main content

itu-r-468-weighting

A zero dependency Python ITU-R 468 noise weighting filter (1 kHz and 2 kHz)

Master branch: Build Status Coverage Status
Dev branch: Build Status Coverage Status

Introduction

This project consists of a sole function named r468(). The function takes a frequency value and returns a weighted gain value. For weightening, the ITU-R BS.468-4 standard and the SMPTE RP 2054:2010 recommended practice are followed.

The math for this project is taken from Wikipedia (as of 2019-08-08):

Filter with gain in dB ("db" option):

Filter with gain factor ("factor" option):

Installation

pip install itu-r-468-weighting

More infos on the project page at PyPI.

Example Usage

from itu_r_468_weighting.filter import r468

r468(1000, "1khz", "db")      # returns gain in dB
r468(1000, "2khz", "db")      # returns gain in dB
r468(1000, "1khz", "factor")  # returns gain factor
r468(1000, "2khz", "factor")  # returns gain factor

Documentation

See docstring of function r468() in itu_r_468_weighting/filter.py or create and read the docs from source in docs/ or read them online at readthedocs.io.

Contributing

See CONTRIBUTING.md file.

Project page

This project is hosted on GitHub.

Metadata

Release files for itu-r-468-weighting 2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itu-r-468-weighting 2.0.3
File Size Uploaded Provenance
itu-r-468-weighting-2.0.3.tar.gz 3.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for itu-r-468-weighting 2.0.3
File Interpreter ABI Platform
itu_r_468_weighting-2.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / itu-r-468-weighting-2.0.3.tar.gz

Download URL itu-r-468-weighting-2.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f215d658645be7a183ca184699737a88544b788286f9bb09722e37fd60d0333
BLAKE2b-256 checksum
How to use checksums
66fa513197b8aa89d9f50c5523a640735b6b1bbe13ef970b682323a5a61552d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release files / itu_r_468_weighting-2.0.3-py3-none-any.whl

Download URL itu_r_468_weighting-2.0.3-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7619d93f88828f25db3551be5197e74b31902f9668fbe5a022e624fe37e36230
BLAKE2b-256 checksum
How to use checksums
264ababd978d9d24619c4c5109dc6a6ea76ede8261e891fc54896ab204d73f82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for itu-r-468-weighting 2.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page