sofar 0.3.1__py2.py3-none-any.whl → 1.1.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sofar/__init__.py +13 -7
- sofar/io.py +423 -0
- sofar/sofa.py +1795 -0
- sofar/sofa_conventions/VERSION +1 -0
- sofar/sofa_conventions/conventions/FreeFieldDirectivityTF_1.1.csv +59 -0
- sofar/sofa_conventions/conventions/FreeFieldDirectivityTF_1.1.json +444 -0
- sofar/{conventions/source → sofa_conventions/conventions}/FreeFieldHRIR_1.0.csv +3 -3
- sofar/{conventions → sofa_conventions/conventions}/FreeFieldHRIR_1.0.json +3 -3
- sofar/{conventions/source → sofa_conventions/conventions}/FreeFieldHRTF_1.0.csv +2 -2
- sofar/{conventions → sofa_conventions/conventions}/FreeFieldHRTF_1.0.json +3 -3
- sofar/{conventions/source → sofa_conventions/conventions}/GeneralFIR-E_2.0.csv +2 -2
- sofar/{conventions → sofa_conventions/conventions}/GeneralFIR-E_2.0.json +2 -2
- sofar/{conventions/source/GeneralFIR_2.0.csv → sofa_conventions/conventions/GeneralFIR_1.0.csv} +2 -2
- sofar/{conventions/GeneralFIR_2.0.json → sofa_conventions/conventions/GeneralFIR_1.0.json} +2 -2
- sofar/{conventions/source/GeneralFIR_1.0.csv → sofa_conventions/conventions/GeneralSOS_1.0.csv} +11 -11
- sofar/{conventions/GeneralFIR_1.0.json → sofa_conventions/conventions/GeneralSOS_1.0.json} +48 -37
- sofar/{conventions/source → sofa_conventions/conventions}/GeneralTF-E_1.0.csv +3 -3
- sofar/{conventions → sofa_conventions/conventions}/GeneralTF-E_1.0.json +4 -4
- sofar/{conventions/source → sofa_conventions/conventions}/GeneralTF_1.0.csv +1 -1
- sofar/{conventions → sofa_conventions/conventions}/GeneralTF_1.0.json +1 -1
- sofar/{conventions/source → sofa_conventions/conventions}/GeneralTF_2.0.csv +4 -4
- sofar/{conventions → sofa_conventions/conventions}/GeneralTF_2.0.json +4 -4
- sofar/sofa_conventions/conventions/SimpleFreeFieldHRIR_1.0.csv +47 -0
- sofar/{conventions → sofa_conventions/conventions}/SimpleFreeFieldHRIR_1.0.json +1 -1
- sofar/{conventions/source → sofa_conventions/conventions}/SimpleFreeFieldHRSOS_1.0.csv +1 -1
- sofar/{conventions → sofa_conventions/conventions}/SimpleFreeFieldHRSOS_1.0.json +1 -1
- sofar/{conventions/source/SimpleFreeFieldHRTF_2.0.csv → sofa_conventions/conventions/SimpleFreeFieldHRTF_1.0.csv} +3 -3
- sofar/{conventions/SimpleFreeFieldHRTF_2.0.json → sofa_conventions/conventions/SimpleFreeFieldHRTF_1.0.json} +4 -4
- sofar/{conventions/source → sofa_conventions/conventions}/SimpleHeadphoneIR_1.0.csv +9 -9
- sofar/sofa_conventions/conventions/SimpleHeadphoneIR_1.0.json +396 -0
- sofar/{conventions/source → sofa_conventions/conventions}/SingleRoomMIMOSRIR_1.0.csv +18 -8
- sofar/{conventions → sofa_conventions/conventions}/SingleRoomMIMOSRIR_1.0.json +124 -50
- sofar/{conventions/source → sofa_conventions/conventions}/SingleRoomSRIR_1.0.csv +18 -8
- sofar/{conventions → sofa_conventions/conventions}/SingleRoomSRIR_1.0.json +124 -50
- sofar/{conventions/source → sofa_conventions/conventions/deprecated}/FreeFieldDirectivityTF_1.0.csv +2 -2
- sofar/{conventions → sofa_conventions/conventions/deprecated}/FreeFieldDirectivityTF_1.0.json +2 -2
- sofar/sofa_conventions/conventions/deprecated/MultiSpeakerBRIR_0.3.csv +48 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleFreeFieldHRIR_0.4.csv +43 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleFreeFieldHRIR_0.4.json +333 -0
- sofar/{conventions/source/SimpleFreeFieldHRIR_1.0.csv → sofa_conventions/conventions/deprecated/SimpleFreeFieldTF_0.4.csv} +15 -18
- sofar/sofa_conventions/conventions/deprecated/SimpleFreeFieldTF_0.4.json +340 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleFreeFieldTF_1.0.csv +44 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleFreeFieldTF_1.0.json +340 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleHeadphoneIR_0.1.csv +51 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleHeadphoneIR_0.1.json +396 -0
- sofar/sofa_conventions/conventions/deprecated/SimpleHeadphoneIR_0.2.csv +51 -0
- sofar/{conventions/SimpleHeadphoneIR_1.0.json → sofa_conventions/conventions/deprecated/SimpleHeadphoneIR_0.2.json} +3 -3
- sofar/sofa_conventions/conventions/deprecated/SingleRoomDRIR_0.2.csv +47 -0
- sofar/sofa_conventions/conventions/deprecated/SingleRoomDRIR_0.2.json +360 -0
- sofar/sofa_conventions/rules/deprecations.json +12 -0
- sofar/sofa_conventions/rules/rules.json +800 -0
- sofar/sofa_conventions/rules/unit_aliases.json +11 -0
- sofar/sofa_conventions/rules/upgrade.json +190 -0
- sofar/update_conventions.py +427 -0
- sofar/utils.py +315 -0
- {sofar-0.3.1.dist-info → sofar-1.1.0.dist-info}/AUTHORS.rst +1 -0
- sofar-1.1.0.dist-info/METADATA +89 -0
- sofar-1.1.0.dist-info/RECORD +75 -0
- {sofar-0.3.1.dist-info → sofar-1.1.0.dist-info}/WHEEL +1 -1
- {sofar-0.3.1.dist-info → sofar-1.1.0.dist-info}/top_level.txt +1 -0
- tests/__init__.py +0 -0
- tests/test_deprecations.py +19 -0
- tests/test_io.py +344 -0
- tests/test_sofa.py +354 -0
- tests/test_sofa_upgrade_conventions.py +102 -0
- tests/test_sofa_verify.py +472 -0
- tests/test_utils.py +241 -0
- sofar/conventions/source/MultiSpeakerBRIR_0.3.csv +0 -48
- sofar/sofar.py +0 -2531
- sofar-0.3.1.dist-info/METADATA +0 -69
- sofar-0.3.1.dist-info/RECORD +0 -46
- /sofar/{conventions/source → sofa_conventions/conventions}/SimpleFreeFieldSOS_1.0.csv +0 -0
- /sofar/{conventions → sofa_conventions/conventions}/SimpleFreeFieldSOS_1.0.json +0 -0
- /sofar/{conventions/source → sofa_conventions/conventions/deprecated}/GeneralFIRE_1.0.csv +0 -0
- /sofar/{conventions → sofa_conventions/conventions/deprecated}/GeneralFIRE_1.0.json +0 -0
- /sofar/{conventions → sofa_conventions/conventions/deprecated}/MultiSpeakerBRIR_0.3.json +0 -0
- /sofar/{conventions/source → sofa_conventions/conventions/deprecated}/SingleRoomDRIR_0.3.csv +0 -0
- /sofar/{conventions → sofa_conventions/conventions/deprecated}/SingleRoomDRIR_0.3.json +0 -0
- {sofar-0.3.1.dist-info → sofar-1.1.0.dist-info}/LICENSE +0 -0
sofar-0.3.1.dist-info/METADATA
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: sofar
|
3
|
-
Version: 0.3.1
|
4
|
-
Summary: Maybe the most complete python package for SOFA files so far
|
5
|
-
Home-page: https://github.com/pyfar/sofar
|
6
|
-
Author: The pyfar developers
|
7
|
-
Author-email: info@pyfar.org
|
8
|
-
License: MIT license
|
9
|
-
Keywords: sofar
|
10
|
-
Platform: UNKNOWN
|
11
|
-
Classifier: Development Status :: 4 - Beta
|
12
|
-
Classifier: Intended Audience :: Science/Research
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
14
|
-
Classifier: Natural Language :: English
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
16
|
-
Classifier: Programming Language :: Python :: 3.7
|
17
|
-
Classifier: Programming Language :: Python :: 3.8
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
19
|
-
Requires-Python: >=3.7
|
20
|
-
Requires-Dist: netCDF4
|
21
|
-
Requires-Dist: numpy (>=1.14.0)
|
22
|
-
Requires-Dist: beautifulsoup4
|
23
|
-
Requires-Dist: requests
|
24
|
-
|
25
|
-
======
|
26
|
-
Readme
|
27
|
-
======
|
28
|
-
|
29
|
-
Sofar is maybe the most complete Python package for the SOFA file format so
|
30
|
-
far. SOFA files store spatially distributed acoustic data such as impulse
|
31
|
-
responses or transfer functions. These are the sofar key features
|
32
|
-
|
33
|
-
* Based on the official SOFA conventions from the `Matlab/Octave API`_
|
34
|
-
* Read and write support for SOFA files
|
35
|
-
* Add custom attributes to SOFA files
|
36
|
-
* Verify content of a SOFA file with respect to the data type and shape
|
37
|
-
* Open license allows unrestricted use
|
38
|
-
* sofar is tested using continuous integration on Travis CI
|
39
|
-
|
40
|
-
Installation
|
41
|
-
============
|
42
|
-
|
43
|
-
Use pip to install sofar
|
44
|
-
|
45
|
-
.. code-block:: console
|
46
|
-
|
47
|
-
$ pip install sofar
|
48
|
-
|
49
|
-
(Requires Python >= 3.7)
|
50
|
-
|
51
|
-
Getting Started
|
52
|
-
===============
|
53
|
-
|
54
|
-
Check out `read the docs`_ for example use cases and the complete
|
55
|
-
documentation. Packages related to sofar are listed at `pyfar.org`_. For more
|
56
|
-
information on the SOFA file format visit `sofaconventions.org`_.
|
57
|
-
|
58
|
-
Contributing
|
59
|
-
============
|
60
|
-
|
61
|
-
Refer to the `contribution guidelines`_ for more information.
|
62
|
-
|
63
|
-
.. _Matlab/Octave API : https://github.com/sofacoustics/API_MO
|
64
|
-
.. _contribution guidelines: https://github.com/pyfar/sofar/blob/develop/CONTRIBUTING.rst
|
65
|
-
.. _pyfar.org: https://pyfar.org
|
66
|
-
.. _read the docs: https://sofar.readthedocs.io/en/latest
|
67
|
-
.. _sofaconventions.org: https://sofaconventions.org
|
68
|
-
|
69
|
-
|
sofar-0.3.1.dist-info/RECORD
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
sofar/__init__.py,sha256=20aXlvR1YmLSCOzIdAjYOeD5js5olBEzda_e9rPNKWY,431
|
2
|
-
sofar/sofar.py,sha256=Q-Ibjjgwgv2oTvKjDaive197CMB7pdYcFCMCz784aPg,93224
|
3
|
-
sofar/conventions/FreeFieldDirectivityTF_1.0.json,sha256=866z3TJ1z4q6mWIREPu6YioCgpv46hOCFt40wjaL-xc,12627
|
4
|
-
sofar/conventions/FreeFieldHRIR_1.0.json,sha256=FVS_sPO8zjpyx1gmbLZWVqxxr6N2QzGN_iMm9NSAPyU,8098
|
5
|
-
sofar/conventions/FreeFieldHRTF_1.0.json,sha256=gUUbqkHP51WSc-dAfXIKXGKtd5Ybq2kfRRORKjCMi4Y,7978
|
6
|
-
sofar/conventions/GeneralFIR-E_2.0.json,sha256=XLk_fud5n1937tLrd0B8AzVb5MJ1boRM1aZTYT7J5KA,6614
|
7
|
-
sofar/conventions/GeneralFIRE_1.0.json,sha256=y3A1fhyS4XUAIbEGv92pwrYp01HutgIKajI4WmJYYKQ,6603
|
8
|
-
sofar/conventions/GeneralFIR_1.0.json,sha256=IFoqwXObzydKRBODZsMCNDlwCJBN84JqKi6LzX9hcZw,7048
|
9
|
-
sofar/conventions/GeneralFIR_2.0.json,sha256=gfaUoIWLODLQxgHjjfVMjt5Nv9ObhwFxAwFtgRima28,7054
|
10
|
-
sofar/conventions/GeneralTF-E_1.0.json,sha256=1-yF7NqA0yrtiCWJdf4MKwQ4_HPlhNuAWG-n55hSXZ8,6738
|
11
|
-
sofar/conventions/GeneralTF_1.0.json,sha256=IZs54KDEJe4kQs8l0HSvPW9s3UHRoEqfJ3c3Pz-12Oo,6677
|
12
|
-
sofar/conventions/GeneralTF_2.0.json,sha256=g7YPRXrhh-IVdUytrYtBrNl1c8oeB844KT994I-IEqw,6680
|
13
|
-
sofar/conventions/MultiSpeakerBRIR_0.3.json,sha256=PBC2SOliEORqJpuSweO77_tePFBVVoJ6zZ_COUNrZME,8884
|
14
|
-
sofar/conventions/SimpleFreeFieldHRIR_1.0.json,sha256=ZVIhb9pvNylfjTyZJhbAafC-9FIxfAC4w5atFtFiEEU,8446
|
15
|
-
sofar/conventions/SimpleFreeFieldHRSOS_1.0.json,sha256=xmbp4uWNX63FKJFoAoM5bEu6pr6dBnpMzHkDEJHcDF8,8254
|
16
|
-
sofar/conventions/SimpleFreeFieldHRTF_2.0.json,sha256=qz6iaB9_T2OCC5XIyANtJLC2BE_Hf2ZAIkNizr7n-dk,7773
|
17
|
-
sofar/conventions/SimpleFreeFieldSOS_1.0.json,sha256=SILNWPWs3JFVtnDvKDpyZ3RBGboD8SWaqmaT83EUb7w,8249
|
18
|
-
sofar/conventions/SimpleHeadphoneIR_1.0.json,sha256=_Eh6C7c7tCX1H3jq7x-qiX_ANPgrJ1PbHUmaEFP84gQ,9873
|
19
|
-
sofar/conventions/SingleRoomDRIR_0.3.json,sha256=ccCvFNWYwATIRCPxQke73ckogc2Y3hBP97_JOtPusns,8097
|
20
|
-
sofar/conventions/SingleRoomMIMOSRIR_1.0.json,sha256=mdpy4dqqQ5syvJfKUYLaeHavBqg8nxY9pwFRKgJsuBg,12311
|
21
|
-
sofar/conventions/SingleRoomSRIR_1.0.json,sha256=hms4IOxvePftEQLY3Mv_Ii5yg6rwaVs5RxOy6bOYVmg,12573
|
22
|
-
sofar/conventions/source/FreeFieldDirectivityTF_1.0.csv,sha256=BjrosgK5bKXbf0utlNmBMeBWwQLeFWmzirUcbbqbRYI,5125
|
23
|
-
sofar/conventions/source/FreeFieldHRIR_1.0.csv,sha256=pslXnEA3aRZhrJpN7lbqQgoo1vOcNFmnPMFAoNje-r8,2450
|
24
|
-
sofar/conventions/source/FreeFieldHRTF_1.0.csv,sha256=jyXU4EO9DZUh09RelYM1pjMhMBzDUCN8BjGWloUictM,2201
|
25
|
-
sofar/conventions/source/GeneralFIR-E_2.0.csv,sha256=IiCj7eu8l4MQ9XApqfFSnO0ARlR79iSD_xMJog3NkR0,1999
|
26
|
-
sofar/conventions/source/GeneralFIRE_1.0.csv,sha256=2_ed7Y0CGJmCx9V3X7L4gipJ94nLzH7Jl9fXXtI7rLQ,1988
|
27
|
-
sofar/conventions/source/GeneralFIR_1.0.csv,sha256=Exgjyc6uAaqeAa8WsTl9eFH9jawSf0sFlI1BiLRiWYA,2005
|
28
|
-
sofar/conventions/source/GeneralFIR_2.0.csv,sha256=yWMW0XWkTH811jDOVvnlGPFYdvlcF1U12rYdV3vv740,2011
|
29
|
-
sofar/conventions/source/GeneralTF-E_1.0.csv,sha256=hoo2zg64S-53PiT65s37-S25NNEhYrl3Nl23sO2atQk,1995
|
30
|
-
sofar/conventions/source/GeneralTF_1.0.csv,sha256=ElQJkLRMC5Q_D5ptWoLqkYn500Zc85ZAnU4ys1T8Aa0,1936
|
31
|
-
sofar/conventions/source/GeneralTF_2.0.csv,sha256=VEkfiUYdjisGZbfKeR2jX0kjkPqT6B7IkAQcaqJ1Uqg,1939
|
32
|
-
sofar/conventions/source/MultiSpeakerBRIR_0.3.csv,sha256=Lx0CBx21VlszwG-PQPgdUy61YPDiqpp48uY6usSllng,2521
|
33
|
-
sofar/conventions/source/SimpleFreeFieldHRIR_1.0.csv,sha256=VL1BH6vRFxl2D1C-66yCeNz4Z04b5Kb83WQ8s3nh2Xw,2197
|
34
|
-
sofar/conventions/source/SimpleFreeFieldHRSOS_1.0.csv,sha256=gYGQYAVyvHKq6Cn8T4I9eBV7cjJz5TbXFHKUDNGlTXo,2303
|
35
|
-
sofar/conventions/source/SimpleFreeFieldHRTF_2.0.csv,sha256=4_ntxPwEDLsxk97MH3RswHZDEnegfZil1yH_Kl8yXxY,1994
|
36
|
-
sofar/conventions/source/SimpleFreeFieldSOS_1.0.csv,sha256=YphFfFEwTSosaYOTbUv2gz-Pb5yrQv7AFVZuXh-WUjM,2298
|
37
|
-
sofar/conventions/source/SimpleHeadphoneIR_1.0.csv,sha256=kt0zRA7MRcJNbBW-8sUHm_hICccfXCNmhO0nh9SLB0k,3125
|
38
|
-
sofar/conventions/source/SingleRoomDRIR_0.3.csv,sha256=l6PAKjsNuaFHVUlT4rVdZY9Pj7nh_jF8d82i5YSbkss,1999
|
39
|
-
sofar/conventions/source/SingleRoomMIMOSRIR_1.0.csv,sha256=I0r_7m_GH8123DWvjq1esAHs4_fNriUb8uIsuFznqEM,3320
|
40
|
-
sofar/conventions/source/SingleRoomSRIR_1.0.csv,sha256=VyarxH2VPlHB2-F4T04USKfqG9yv1Ek5AQBtYHq5XhM,3577
|
41
|
-
sofar-0.3.1.dist-info/AUTHORS.rst,sha256=N82GXjqUmD3TIFjpjy6PM4OsLXzdraX7l8coVTGRXmM,147
|
42
|
-
sofar-0.3.1.dist-info/LICENSE,sha256=qdGH_RUPveBBfGYShm6OIBd6bRJdwp3fDCpjMsowmqA,1068
|
43
|
-
sofar-0.3.1.dist-info/METADATA,sha256=gDjGmHrrhqGziHHyUGbR9cydKDGizPD-xuG_c52uHbc,2111
|
44
|
-
sofar-0.3.1.dist-info/WHEEL,sha256=8zNYZbwQSXoB9IfXOjPfeNwvAsALAjffgk27FqvCWbo,110
|
45
|
-
sofar-0.3.1.dist-info/top_level.txt,sha256=d_-_aenO-CQQDhl2Px8eTDskXHq8rWjrwo7eC56wyNU,6
|
46
|
-
sofar-0.3.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/sofar/{conventions/source → sofa_conventions/conventions/deprecated}/SingleRoomDRIR_0.3.csv
RENAMED
File without changes
|
File without changes
|
File without changes
|