{"id":37084464,"url":"https://github.com/thejasvibr/bat_beamshapes","last_synced_at":"2026-01-14T10:20:16.741Z","repository":{"id":45082994,"uuid":"234049488","full_name":"thejasvibr/bat_beamshapes","owner":"thejasvibr","description":"Directivity functions for various sound sources","archived":false,"fork":false,"pushed_at":"2024-04-08T06:02:05.000Z","size":4794,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-01-03T03:56:57.605Z","etag":null,"topics":["acoustics","beamshape","bioacoustics","directivity","sound"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thejasvibr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-01-15T09:51:49.000Z","updated_at":"2024-04-18T07:34:30.000Z","dependencies_parsed_at":"2024-04-06T12:30:23.685Z","dependency_job_id":"cfef9f4b-16d6-46d0-ab52-98d96bd60c32","html_url":"https://github.com/thejasvibr/bat_beamshapes","commit_stats":{"total_commits":209,"total_committers":5,"mean_commits":41.8,"dds":"0.43540669856459335","last_synced_commit":"34fe61f387bcafb2af43ca4b341b02f8e73b23b1"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/thejasvibr/bat_beamshapes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thejasvibr%2Fbat_beamshapes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thejasvibr%2Fbat_beamshapes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thejasvibr%2Fbat_beamshapes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thejasvibr%2Fbat_beamshapes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thejasvibr","download_url":"https://codeload.github.com/thejasvibr/bat_beamshapes/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thejasvibr%2Fbat_beamshapes/sbom","scorecard":{"id":878870,"data":{"date":"2025-08-11","repo":{"name":"github.com/thejasvibr/bat_beamshapes","commit":"71da1dacffe383a900d8829efda1147e98995dea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 2/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'dev'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-288 / GHSA-6hrg-qmvc-2xh8","Warn: Project is vulnerable to: PYSEC-2021-427 / GHSA-f865-m6cq-j9vx","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2019-156 / GHSA-xp76-357g-9wqq","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2023-114","Warn: Project is vulnerable to: PYSEC-2017-74","Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T07:13:33.040Z","repository_id":45082994,"created_at":"2025-08-24T07:13:33.040Z","updated_at":"2025-08-24T07:13:33.040Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:18:03.274Z","status":"ssl_error","status_checked_at":"2026-01-14T10:16:11.865Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["acoustics","beamshape","bioacoustics","directivity","sound"],"created_at":"2026-01-14T10:20:16.092Z","updated_at":"2026-01-14T10:20:16.731Z","avatar_url":"https://github.com/thejasvibr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://app.travis-ci.com/thejasvibr/bat_beamshapes.svg?branch=dev)](https://app.travis-ci.com/thejasvibr/bat_beamshapes)\n[![status](https://joss.theoj.org/papers/820fd37f8255a8c533d6cc4c9475ecb5/status.svg)](https://joss.theoj.org/papers/820fd37f8255a8c533d6cc4c9475ecb5)\n[![Documentation Status](https://readthedocs.org/projects/beamshapes/badge/?version=latest)](https://beamshapes.readthedocs.io/en/latest/?badge=latest)\n\n\n# Beamshapes\n\nCalculate directivity of various sound source models and get their beamshapes.\n\nThis package is released under an MIT license. \n\n## Getting started with *beamshapes*\n\n```\n\u003e\u003e\u003e import matplotlib.pyplot as plt \n\u003e\u003e\u003e import numpy as np \n\u003e\u003e\u003e import beamshapes\n\u003e\u003e\u003e from beamshapes import piston_in_infinite_baffle_directivity as PIB # short alias\n\u003e\u003e\u003e input_parameters = {'k':50, 'a':0.1}\n\u003e\u003e\u003e angles = np.linspace(-np.pi/2,np.pi/2,50)\n\u003e\u003e\u003e _, directionality = PIB(angles, input_parameters) # output the dB(D(theta)/D(on-axis))\n\u003e\u003e\u003e plt.figure();a0 = plt.subplot(111, projection='polar')\n\u003e\u003e\u003e plt.plot(angles, directionality) # plot the beamshape !!\n```\n\nFor more detailed use-cases, check out the [example gallery online](https://beamshapes.readthedocs.io/en/latest/gallery_examples/index.html)!\n\n## Installation \n\n*PyPi installation (\u003e=version 0.2.1)*\n\n```pip install beamshapes```\n\n*Local installation instructions*\nFor the steps below to work you need to have a working Python installation that you can access from the command line. It is recommended to do the installation in a  [virtual environment](https://realpython.com/effective-python-environment/#virtual-environments). \n\n1. Clone the Github repository ```git clone https://github.com/thejasvibr/bat_beamshapes.git```\n1. Change directories to the downloaded repo, and switch to the *dev* branch: ```git checkout dev``` \n1. Install the dependencies with ```pip install -r beamshapes/tests/requirements_test.txt```\n1. Install *beamshapes* with ```python setup.py install```\n\n\n## Detailed documentation \nFor more details on the concepts and source documentation - please check out the [online docs](https://beamshapes.rtfd.io).\n\n## Citation information \nIf you use this package - please cite the paper: \n\nAPA-style format\n\n*Beleyur, T., (2022). beamshapes: a Python package to generate directivity patterns for various sound source models. Journal of Open Source Software, 7(69), 3740, https://doi.org/10.21105/joss.03740*\n\n\nBibtext format: \n\n```\n@article{Beleyur2022,\n  doi = {10.21105/joss.03740},\n  url = {https://doi.org/10.21105/joss.03740},\n  year = {2022},\n  publisher = {The Open Journal},\n  volume = {7},\n  number = {69},\n  pages = {3740},\n  author = {Thejasvi Beleyur},\n  title = {```beamshapes```: a Python package to generate directivity patterns for various sound source models},\n  journal = {Journal of Open Source Software}\n}\n```\nIf possible, and space allows also do mention the package version (e.g. beamshapes 0.2.X) .\nYou can access the version number of the package being used with \n```\n\u003e\u003e\u003e import beamshapes\n\u003e\u003e\u003e print(beamshapes.__version__)\n```\n\n\n## Change log\n\nv0.2.3 : unify the keyword arguments across the ```flint``` and ```mpmath``` piston in a sphere implementations. Both implementations now use ```NN``` to define matrix size, and ```n_cores``` to set number of CPUs to use.\n\n\n## Future implementations\n* Piston on a cylinder\n* Rectangular piston on a prolate spheroid ([paper](https://asa.scitation.org/doi/pdf/10.1121/1.1778840?casa_token=wDAHTxJBISUAAAAA:MW-OSeGIkft-mces_mJgFBuyOhzI1qpPbc_7Xuu9EhDDD8CF8vnCIYaGyVivUb2qOpFda4GkPWto))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejasvibr%2Fbat_beamshapes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthejasvibr%2Fbat_beamshapes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejasvibr%2Fbat_beamshapes/lists"}