acoular 24.3__tar.gz → 24.7__tar.gz
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.
- {acoular-24.3 → acoular-24.7}/.gitignore +8 -9
- acoular-24.7/LICENSE +28 -0
- {acoular-24.3 → acoular-24.7}/PKG-INFO +58 -39
- {acoular-24.3 → acoular-24.7}/README.md +30 -15
- acoular-24.7/acoular/__init__.py +125 -0
- {acoular-24.3 → acoular-24.7}/acoular/calib.py +29 -38
- {acoular-24.3 → acoular-24.7}/acoular/configuration.py +132 -82
- acoular-24.7/acoular/demo/__init__.py +13 -0
- acoular-24.7/acoular/demo/acoular_demo.py +98 -0
- {acoular-24.3 → acoular-24.7}/acoular/environments.py +270 -264
- {acoular-24.3 → acoular-24.7}/acoular/fastFuncs.py +366 -196
- acoular-24.7/acoular/fbeamform.py +2600 -0
- {acoular-24.3 → acoular-24.7}/acoular/grids.py +504 -548
- acoular-24.7/acoular/h5cache.py +127 -0
- acoular-24.7/acoular/h5files.py +221 -0
- acoular-24.7/acoular/internal.py +25 -0
- acoular-24.7/acoular/microphones.py +139 -0
- acoular-24.7/acoular/sdinput.py +122 -0
- {acoular-24.3 → acoular-24.7}/acoular/signals.py +180 -178
- acoular-24.7/acoular/sources.py +1620 -0
- {acoular-24.3 → acoular-24.7}/acoular/spectra.py +353 -363
- acoular-24.7/acoular/tbeamform.py +812 -0
- acoular-24.7/acoular/tfastfuncs.py +251 -0
- acoular-24.7/acoular/tools/__init__.py +25 -0
- acoular-24.7/acoular/tools/aiaa.py +185 -0
- acoular-24.7/acoular/tools/helpers.py +189 -0
- acoular-24.7/acoular/tools/metrics.py +165 -0
- {acoular-24.3 → acoular-24.7}/acoular/tprocess.py +1240 -1182
- acoular-24.7/acoular/traitsviews.py +533 -0
- {acoular-24.3 → acoular-24.7}/acoular/trajectory.py +50 -52
- acoular-24.7/acoular/version.py +8 -0
- acoular-24.7/acoular/xml/minidsp_uma-16.xml +20 -0
- acoular-24.3/acoular/xml/minidsp_uma16.xml → acoular-24.7/acoular/xml/minidsp_uma-16_mirrored.xml +3 -0
- {acoular-24.3 → acoular-24.7}/pyproject.toml +74 -15
- acoular-24.3/.github/workflows/build_docs.yml +0 -43
- acoular-24.3/.github/workflows/python-package.yml +0 -45
- acoular-24.3/.gitlab-ci.yml +0 -46
- acoular-24.3/.travis.yml +0 -142
- acoular-24.3/.zenodo.json +0 -47
- acoular-24.3/LICENSE +0 -29
- acoular-24.3/MANIFEST.in +0 -5
- acoular-24.3/acoular/__init__.py +0 -60
- acoular-24.3/acoular/demo/__init__.py +0 -7
- acoular-24.3/acoular/demo/acoular_demo.py +0 -80
- acoular-24.3/acoular/fbeamform.py +0 -2737
- acoular-24.3/acoular/fileimport.py +0 -380
- acoular-24.3/acoular/h5cache.py +0 -136
- acoular-24.3/acoular/h5files.py +0 -204
- acoular-24.3/acoular/internal.py +0 -26
- acoular-24.3/acoular/microphones.py +0 -135
- acoular-24.3/acoular/nidaqimport.py +0 -273
- acoular-24.3/acoular/sdinput.py +0 -118
- acoular-24.3/acoular/sources.py +0 -1424
- acoular-24.3/acoular/tbeamform.py +0 -812
- acoular-24.3/acoular/tests/reference_data/BeamformerBase.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseFalse1.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseFalse2.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseFalse3.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseFalse4.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseTrue1.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseTrue2.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseTrue3.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerBaseTrue4.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCMFLassoLarsBIC.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCMFNNLS.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCapon.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerClean.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCleansc.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCleant.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCleantSq.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCleantSqTraj.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerCleantTraj.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerDamas.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerDamasPlus.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEig.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigFalse1.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigFalse2.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigFalse3.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigFalse4.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigTrue1.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigTrue2.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigTrue3.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerEigTrue4.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerFunctional.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerGIB.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerGridlessOrth.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerMusic.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerOrth.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerSODIX.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerTime.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerTimeSq.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerTimeSqTraj.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/BeamformerTimeTraj.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/Environment.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/Example1_numerical_values_testsum.h5 +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltFiltOctave__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltFiltOctave_band_100_0_fraction_Thirdoctave_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltFreqWeight_weight_A_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltFreqWeight_weight_C_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltFreqWeight_weight_Z_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltOctave__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/FiltOctave_band_100_0_fraction_Thirdoctave_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/Filter__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/GeneralFlowEnvironment.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/OctaveFilterBank__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/OpenJet.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/PointSource.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/PowerSpectra_csm.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/PowerSpectra_ev.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/RotatingFlow.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/SlotJet.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeAverage__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeCumAverage__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeExpAverage_weight_F_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeExpAverage_weight_I_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeExpAverage_weight_S_.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeInOut__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimePower__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/TimeReverse__.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/UniformFlowEnvironment.npy +0 -0
- acoular-24.3/acoular/tests/reference_data/beamformer_traj_time_data.h5 +0 -0
- acoular-24.3/acoular/tests/run_tests.sh +0 -18
- acoular-24.3/acoular/tests/run_tests_osx.sh +0 -16
- acoular-24.3/acoular/tests/test.npy +0 -0
- acoular-24.3/acoular/tests/test_beamformer_results.py +0 -213
- acoular-24.3/acoular/tests/test_classes.py +0 -60
- acoular-24.3/acoular/tests/test_digest.py +0 -125
- acoular-24.3/acoular/tests/test_environments.py +0 -73
- acoular-24.3/acoular/tests/test_example1.py +0 -124
- acoular-24.3/acoular/tests/test_grid.py +0 -92
- acoular-24.3/acoular/tests/test_integrate.py +0 -102
- acoular-24.3/acoular/tests/test_signals.py +0 -60
- acoular-24.3/acoular/tests/test_sources.py +0 -65
- acoular-24.3/acoular/tests/test_spectra.py +0 -38
- acoular-24.3/acoular/tests/test_timecache.py +0 -35
- acoular-24.3/acoular/tests/test_tprocess.py +0 -90
- acoular-24.3/acoular/tests/test_traj_beamformer_results.py +0 -164
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/OvernightTestcasesBeamformer_nMics32_nGridPoints100_nFreqs4_nTrials10.png +0 -0
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/cythonBeamformer.pyx +0 -237
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/mainForCython.py +0 -103
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/mainForParallelJit.py +0 -143
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/setupCythonOpenMP.py +0 -63
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/sharedFunctions.py +0 -153
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/timeOverNMics_AllImportantMethods.png +0 -0
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/timeOverNMics_faverage.png +0 -0
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/vglOptimierungFAverage.py +0 -204
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/vglOptimierungGaussSeidel.py +0 -182
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/vglOptimierungR_BEAMFULL_INVERSE.py +0 -764
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/vglOptimierungR_BEAM_OS.py +0 -231
- acoular-24.3/acoular/tests/unsupported/SpeedComparison/whatsFastestWayFor_absASquared.py +0 -48
- acoular-24.3/acoular/tests/unsupported/functionalBeamformer.py +0 -123
- acoular-24.3/acoular/tests/unsupported/precisionTest.py +0 -153
- acoular-24.3/acoular/tests/unsupported/validationOfBeamformerFuncsPOSTAcoularIntegration.py +0 -254
- acoular-24.3/acoular/tests/unsupported/validationOfBeamformerFuncsPREeAcoularIntegration.py +0 -531
- acoular-24.3/acoular/tfastfuncs.py +0 -175
- acoular-24.3/acoular/tools.py +0 -422
- acoular-24.3/acoular/traitsviews.py +0 -521
- acoular-24.3/acoular/version.py +0 -9
- acoular-24.3/build_conda.sh +0 -6
- acoular-24.3/docs/Makefile +0 -130
- acoular-24.3/docs/source/_static/Acoular_logo.png +0 -0
- acoular-24.3/docs/source/_static/Airfoil_selfnoise_3d.png +0 -0
- acoular-24.3/docs/source/_static/acoular_logo.ico +0 -0
- acoular-24.3/docs/source/_static/airfoil_leading_edge_noise.png +0 -0
- acoular-24.3/docs/source/_static/no_image.png +0 -0
- acoular-24.3/docs/source/_static/pantograph_noise_3d.png +0 -0
- acoular-24.3/docs/source/_templates/autosummary/class.rst +0 -9
- acoular-24.3/docs/source/_templates/autosummary/module.rst +0 -5
- acoular-24.3/docs/source/_themes/haikuac/layout.html +0 -70
- acoular-24.3/docs/source/_themes/haikuac/static/alert_info_32.png +0 -0
- acoular-24.3/docs/source/_themes/haikuac/static/alert_warning_32.png +0 -0
- acoular-24.3/docs/source/_themes/haikuac/static/bg-page.png +0 -0
- acoular-24.3/docs/source/_themes/haikuac/static/bullet_orange.png +0 -0
- acoular-24.3/docs/source/_themes/haikuac/static/haikuac.css_t +0 -436
- acoular-24.3/docs/source/_themes/haikuac/theme.conf +0 -12
- acoular-24.3/docs/source/api_ref/index.rst +0 -63
- acoular-24.3/docs/source/conf.py +0 -233
- acoular-24.3/docs/source/examples/example_3D_beamforming.rst +0 -16
- acoular-24.3/docs/source/examples/example_3D_beamforming_1.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_beamforming.rst +0 -36
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_beamforming_1.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_beamforming_2.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_beamforming_3.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_cmf.rst +0 -14
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_cmf_1.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_steering_vectors.rst +0 -27
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_steering_vectors_1.png +0 -0
- acoular-24.3/docs/source/examples/example_airfoil_in_open_jet_steering_vectors_2.png +0 -0
- acoular-24.3/docs/source/examples/example_rotating_point_source.rst +0 -34
- acoular-24.3/docs/source/examples/example_rotating_point_source_1.png +0 -0
- acoular-24.3/docs/source/examples/example_rotating_point_source_2.png +0 -0
- acoular-24.3/docs/source/examples/example_rotating_point_source_3.png +0 -0
- acoular-24.3/docs/source/examples/index.rst +0 -36
- acoular-24.3/docs/source/gen_rst.py +0 -1111
- acoular-24.3/docs/source/get_started/array64.png +0 -0
- acoular-24.3/docs/source/get_started/array64_py3colormap.png +0 -0
- acoular-24.3/docs/source/get_started/index.rst +0 -167
- acoular-24.3/docs/source/get_started/map_three_sources.png +0 -0
- acoular-24.3/docs/source/get_started/three_source_py3_colormap.png +0 -0
- acoular-24.3/docs/source/index.rst +0 -86
- acoular-24.3/docs/source/install/index.rst +0 -69
- acoular-24.3/docs/source/literature/index.rst +0 -56
- acoular-24.3/docs/source/news/index.rst +0 -183
- acoular-24.3/docs/source/requirements.txt +0 -6
- acoular-24.3/examples/README.txt +0 -6
- acoular-24.3/examples/acoular_demo.py +0 -77
- acoular-24.3/examples/basic_beamformer_example.py +0 -35
- acoular-24.3/examples/benchmark/run_benchmarks.py +0 -67
- acoular-24.3/examples/benchmark/test_beamformerfreq.py +0 -47
- acoular-24.3/examples/benchmark/test_delayandsum.py +0 -90
- acoular-24.3/examples/benchmark/test_dist_mat.py +0 -21
- acoular-24.3/examples/example_3D_beamforming.py +0 -133
- acoular-24.3/examples/example_GenericSignal.py +0 -25
- acoular-24.3/examples/example_SampleSplitter_bufferhandling.py +0 -153
- acoular-24.3/examples/example_SampleSplitter_multithreading.py +0 -98
- acoular-24.3/examples/example_airfoil_in_open_jet_beamforming.py +0 -198
- acoular-24.3/examples/example_airfoil_in_open_jet_cmf.py +0 -110
- acoular-24.3/examples/example_airfoil_in_open_jet_steering_vectors.py +0 -127
- acoular-24.3/examples/example_airfoil_in_open_jet_time_beamforming.py +0 -116
- acoular-24.3/examples/example_calib.xml +0 -59
- acoular-24.3/examples/example_data.h5 +0 -0
- acoular-24.3/examples/example_evaluate.py +0 -84
- acoular-24.3/examples/example_filter.py +0 -50
- acoular-24.3/examples/example_power_spectra_import.py +0 -42
- acoular-24.3/examples/example_rotating_point_source.py +0 -234
- acoular-24.3/examples/example_sectors_and_intergration.py +0 -123
- acoular-24.3/examples/example_tools.py +0 -70
- acoular-24.3/examples/three_sources.py +0 -41
- acoular-24.3/noxfile.py +0 -14
- acoular-24.3/recipe.local/meta.yaml +0 -41
- acoular-24.3/recipe.local/run_test.sh +0 -7
- acoular-24.3/scripts/plot_examples.py +0 -38
- {acoular-24.3 → acoular-24.7}/AUTHORS.rst +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/HW90D240_f10.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/W90_D105_f10.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/acousticam_2c.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/acousticam_4c.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array38.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array92x.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_56.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_56_10_9.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_56_bomb.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_56_v2.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_64.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_84_10_9.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/array_84_bomb_v3.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/calib_vw_ring32.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/gfai_ring32.xml +0 -0
- {acoular-24.3 → acoular-24.7}/acoular/xml/tub_vogel64.xml +0 -0
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
# files and file types to ignore
|
|
2
2
|
*.pyc
|
|
3
|
-
*.pyd
|
|
4
3
|
*.so
|
|
5
4
|
*~
|
|
6
|
-
examples/three_sources.h5
|
|
7
|
-
examples/all_bf.sav
|
|
8
|
-
examples/benchmark/results/
|
|
9
|
-
MANIFEST
|
|
10
|
-
|
|
11
|
-
# ignore the build directories
|
|
12
5
|
*.egg-info/
|
|
13
6
|
.eggs/
|
|
14
7
|
build/
|
|
@@ -23,7 +16,13 @@ __pycache__/
|
|
|
23
16
|
*.nbc
|
|
24
17
|
*.nbi
|
|
25
18
|
*.pyd
|
|
26
|
-
docs/source/api_ref/generated/
|
|
27
19
|
.vscode/
|
|
28
20
|
|
|
29
|
-
|
|
21
|
+
MANIFEST
|
|
22
|
+
|
|
23
|
+
examples/all_bf.sav
|
|
24
|
+
examples/benchmark/results/
|
|
25
|
+
**/three_sources.h5
|
|
26
|
+
docs/source/sg_execution_times.rst
|
|
27
|
+
docs/source/api_ref/generated/
|
|
28
|
+
docs/source/auto_examples/**/*
|
acoular-24.7/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Acoular Development Team
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: acoular
|
|
3
|
-
Version: 24.
|
|
3
|
+
Version: 24.7
|
|
4
4
|
Summary: Python library for acoustic beamforming
|
|
5
5
|
Project-URL: homepage, https://acoular.org
|
|
6
6
|
Project-URL: documentation, https://acoular.org
|
|
7
7
|
Project-URL: repository, https://github.com/acoular/acoular
|
|
8
8
|
Author-email: Acoular Development Team <info@acoular.org>
|
|
9
9
|
Maintainer-email: Adam Kujawski <adam.kujawski@tu-berlin.de>, Art Pelling <a.pelling@tu-berlin.de>, Ennes Sarradj <ennes.sarradj@tu-berlin.de>, Gert Herold <gert.herold@tu-berlin.de>, Mikolaj Czuchaj <mikolaj.czuchaj@tu-berlin.de>, Simon Jekosch <s.jekosch@tu-berlin.de>
|
|
10
|
-
License:
|
|
11
|
-
All rights reserved.
|
|
10
|
+
License: BSD 3-Clause License
|
|
12
11
|
|
|
12
|
+
Copyright (c) Acoular Development Team
|
|
13
13
|
|
|
14
14
|
Redistribution and use in source and binary forms, with or without
|
|
15
15
|
modification, are permitted provided that the following conditions are met:
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
b. Redistributions in binary form must reproduce the above copyright
|
|
20
|
-
notice, this list of conditions and the following disclaimer in the
|
|
21
|
-
documentation and/or other materials provided with the distribution.
|
|
22
|
-
c. Neither the name of the acoular developers nor the names of
|
|
23
|
-
its contributors may be used to endorse or promote products
|
|
24
|
-
derived from this software without specific prior written
|
|
25
|
-
permission.
|
|
17
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
18
|
+
list of conditions and the following disclaimer.
|
|
26
19
|
|
|
20
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
21
|
+
this list of conditions and the following disclaimer in the documentation
|
|
22
|
+
and/or other materials provided with the distribution.
|
|
23
|
+
|
|
24
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
25
|
+
contributors may be used to endorse or promote products derived from
|
|
26
|
+
this software without specific prior written permission.
|
|
27
27
|
|
|
28
28
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
29
29
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
30
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
31
|
-
|
|
32
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
31
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
32
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
33
33
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
34
34
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
35
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
DAMAGE.
|
|
35
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
36
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
37
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
39
38
|
License-File: AUTHORS.rst
|
|
40
39
|
License-File: LICENSE
|
|
41
40
|
Keywords: acoustics,beamforming,microphone array
|
|
@@ -43,39 +42,45 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
43
42
|
Classifier: Intended Audience :: Education
|
|
44
43
|
Classifier: Intended Audience :: Science/Research
|
|
45
44
|
Classifier: License :: OSI Approved :: BSD License
|
|
46
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
47
45
|
Classifier: Programming Language :: Python :: 3.8
|
|
48
46
|
Classifier: Programming Language :: Python :: 3.9
|
|
49
47
|
Classifier: Programming Language :: Python :: 3.10
|
|
50
48
|
Classifier: Programming Language :: Python :: 3.11
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
51
50
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
52
|
-
Requires-Python: <=
|
|
51
|
+
Requires-Python: <=12,>=3.8
|
|
53
52
|
Requires-Dist: numba
|
|
54
|
-
Requires-Dist: numpy
|
|
53
|
+
Requires-Dist: numpy<2.0
|
|
55
54
|
Requires-Dist: scikit-learn
|
|
56
55
|
Requires-Dist: scipy>=1.1.0
|
|
57
56
|
Requires-Dist: tables>=3.4.4
|
|
58
57
|
Requires-Dist: traits>=6.0
|
|
59
58
|
Provides-Extra: dev
|
|
60
59
|
Requires-Dist: graphviz; extra == 'dev'
|
|
60
|
+
Requires-Dist: hatch; extra == 'dev'
|
|
61
61
|
Requires-Dist: ipython; extra == 'dev'
|
|
62
62
|
Requires-Dist: matplotlib; extra == 'dev'
|
|
63
|
-
Requires-Dist: nox; extra == 'dev'
|
|
64
63
|
Requires-Dist: numpydoc; extra == 'dev'
|
|
65
64
|
Requires-Dist: pickleshare; extra == 'dev'
|
|
65
|
+
Requires-Dist: pylops; extra == 'dev'
|
|
66
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
67
|
+
Requires-Dist: ruff==0.4.1; extra == 'dev'
|
|
66
68
|
Requires-Dist: sounddevice; extra == 'dev'
|
|
67
69
|
Requires-Dist: sphinx; extra == 'dev'
|
|
70
|
+
Requires-Dist: sphinx-gallery; extra == 'dev'
|
|
71
|
+
Requires-Dist: traitsui; extra == 'dev'
|
|
68
72
|
Provides-Extra: full
|
|
69
73
|
Requires-Dist: matplotlib; extra == 'full'
|
|
70
74
|
Requires-Dist: pylops; extra == 'full'
|
|
71
75
|
Requires-Dist: sounddevice; extra == 'full'
|
|
72
76
|
Description-Content-Type: text/markdown
|
|
73
77
|
|
|
74
|
-

|
|
75
79
|
|
|
76
80
|
[](https://pypi.org/project/acoular)
|
|
77
81
|
[](https://pypi.org/project/acoular)
|
|
78
|
-
[](https://github.com/acoular/acoular/actions)
|
|
83
|
+
[](https://zenodo.org/doi/10.5281/zenodo.3690794)
|
|
79
84
|
|
|
80
85
|
# Acoular
|
|
81
86
|
Acoular is a Python module for acoustic beamforming that is distributed under the new BSD license.
|
|
@@ -87,7 +92,7 @@ It is aimed at applications in acoustic testing. Multichannel data recorded by a
|
|
|
87
92
|
- frequency domain deconvolution algorithms: DAMAS, DAMAS+, Clean, CleanSC, orthogonal deconvolution
|
|
88
93
|
- frequency domain inverse methods: CMF (covariance matrix fitting), general inverse beamforming, SODIX
|
|
89
94
|
- time domain methods: delay & sum beamforming, CleanT deconvolution
|
|
90
|
-
- time domain methods applicable for moving
|
|
95
|
+
- time domain methods applicable for moving sources with arbitrary trajectory (linear, circular, arbitrarily 3D curved),
|
|
91
96
|
- frequency domain methods for rotating sources via virtual array rotation for arbitrary arrays and with different interpolation techniques
|
|
92
97
|
- 1D, 2D and 3D mapping grids for all methods
|
|
93
98
|
- gridless option for orthogonal deconvolution
|
|
@@ -107,18 +112,25 @@ Acoular is licensed under the BSD 3-clause. See [LICENSE](LICENSE)
|
|
|
107
112
|
|
|
108
113
|
# Citing
|
|
109
114
|
|
|
110
|
-
If you use Acoular for academic work, please consider citing our
|
|
115
|
+
If you use Acoular for academic work, please consider citing both our
|
|
111
116
|
[publication](https://doi.org/10.1016/j.apacoust.2016.09.015):
|
|
112
117
|
|
|
113
|
-
|
|
114
|
-
A Python framework for microphone array data processing
|
|
115
|
-
Applied Acoustics,
|
|
118
|
+
Sarradj, E., & Herold, G. (2017).
|
|
119
|
+
A Python framework for microphone array data processing.
|
|
120
|
+
Applied Acoustics, 116, 50–58.
|
|
121
|
+
https://doi.org/10.1016/j.apacoust.2016.09
|
|
122
|
+
|
|
123
|
+
and our [software](https://zenodo.org/doi/10.5281/zenodo.3690794):
|
|
124
|
+
|
|
125
|
+
Sarradj, E., Herold, G., Kujawski, A., Jekosch, S., Pelling, A. J. R., Czuchaj, M., Gensch, T., & Oertwig, S..
|
|
126
|
+
Acoular – Acoustic testing and source mapping software.
|
|
127
|
+
Zenodo. https://zenodo.org/doi/10.5281/zenodo.3690794
|
|
116
128
|
|
|
117
129
|
# Dependencies
|
|
118
130
|
Acoular runs under Linux, Windows and MacOS and needs Numpy, Scipy, Traits, scikit-learn, pytables, Numba packages available.
|
|
119
131
|
Matplotlib is needed for some of the examples.
|
|
120
132
|
|
|
121
|
-
If you want to use input from a soundcard
|
|
133
|
+
If you want to use input from a soundcard, you will also need to install the [sounddevice](https://python-sounddevice.readthedocs.io/en/0.3.12/installation.html) package. Some solvers for the CMF method need [Pylops](https://pylops.readthedocs.io/en/stable/installation.html).
|
|
122
134
|
|
|
123
135
|
# Installation
|
|
124
136
|
|
|
@@ -126,22 +138,27 @@ Acoular can be installed via [conda](https://docs.conda.io/en/latest/), which is
|
|
|
126
138
|
|
|
127
139
|
conda install -c acoular acoular
|
|
128
140
|
|
|
129
|
-
This will install Acoular in your Anaconda Python
|
|
141
|
+
This will install Acoular in your Anaconda Python environment and make the Acoular library available from Python. In addition, this will install all dependencies (those other packages mentioned above) if they are not already present on your system.
|
|
130
142
|
|
|
131
143
|
A second option is to install Acoular via [pip](https://pip.pypa.io/en/stable/). It is recommended to use a dedicated [virtual environment](https://virtualenv.pypa.io/en/latest/) and then run
|
|
132
144
|
|
|
133
145
|
pip install acoular
|
|
134
146
|
|
|
135
|
-
For more detailed
|
|
147
|
+
For more detailed installation instructions, see the [documentation](https://acoular.org/install/index.html).
|
|
136
148
|
|
|
137
149
|
# Documentation and help
|
|
138
|
-
Documentation is available [here](
|
|
139
|
-
[getting started](
|
|
140
|
-
[examples](
|
|
150
|
+
Documentation is available [here](https://acoular.org) with a
|
|
151
|
+
[getting started](https://acoular.org/get_started/index.html) section and
|
|
152
|
+
[examples](https://acoular.org/auto_examples/index.html).
|
|
141
153
|
|
|
142
154
|
The Acoular [blog](https://acoular.github.io/blog/) contains some tutorials.
|
|
143
155
|
|
|
144
|
-
|
|
156
|
+
If you discover problems with the Acoular software, please report them using the [issue tracker](https://github.com/acoular/acoular/issues) on GitHub. Please use the [Acoular discussions forum](https://github.com/acoular/acoular/discussions) for practical questions, discussions, and demos.
|
|
157
|
+
|
|
158
|
+
# Contributing
|
|
159
|
+
|
|
160
|
+
We are always happy to welcome new contributors to the project.
|
|
161
|
+
If you are interested in contributing, have a look at the [CONTRIBUTING.md](CONTRIBUTING.md) file.
|
|
145
162
|
|
|
146
163
|
# Example
|
|
147
164
|
This reads data from 64 microphone channels and computes a beamforming map for the 8kHz third octave band:
|
|
@@ -178,4 +195,6 @@ interpolation='bicubic')
|
|
|
178
195
|
colorbar()
|
|
179
196
|
```
|
|
180
197
|
|
|
181
|
-

|
|
199
|
+
|
|
200
|
+
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
[](https://pypi.org/project/acoular)
|
|
4
4
|
[](https://pypi.org/project/acoular)
|
|
5
|
-
[](https://github.com/acoular/acoular/actions)
|
|
6
|
+
[](https://zenodo.org/doi/10.5281/zenodo.3690794)
|
|
6
7
|
|
|
7
8
|
# Acoular
|
|
8
9
|
Acoular is a Python module for acoustic beamforming that is distributed under the new BSD license.
|
|
@@ -14,7 +15,7 @@ It is aimed at applications in acoustic testing. Multichannel data recorded by a
|
|
|
14
15
|
- frequency domain deconvolution algorithms: DAMAS, DAMAS+, Clean, CleanSC, orthogonal deconvolution
|
|
15
16
|
- frequency domain inverse methods: CMF (covariance matrix fitting), general inverse beamforming, SODIX
|
|
16
17
|
- time domain methods: delay & sum beamforming, CleanT deconvolution
|
|
17
|
-
- time domain methods applicable for moving
|
|
18
|
+
- time domain methods applicable for moving sources with arbitrary trajectory (linear, circular, arbitrarily 3D curved),
|
|
18
19
|
- frequency domain methods for rotating sources via virtual array rotation for arbitrary arrays and with different interpolation techniques
|
|
19
20
|
- 1D, 2D and 3D mapping grids for all methods
|
|
20
21
|
- gridless option for orthogonal deconvolution
|
|
@@ -34,18 +35,25 @@ Acoular is licensed under the BSD 3-clause. See [LICENSE](LICENSE)
|
|
|
34
35
|
|
|
35
36
|
# Citing
|
|
36
37
|
|
|
37
|
-
If you use Acoular for academic work, please consider citing our
|
|
38
|
+
If you use Acoular for academic work, please consider citing both our
|
|
38
39
|
[publication](https://doi.org/10.1016/j.apacoust.2016.09.015):
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
A Python framework for microphone array data processing
|
|
42
|
-
Applied Acoustics,
|
|
41
|
+
Sarradj, E., & Herold, G. (2017).
|
|
42
|
+
A Python framework for microphone array data processing.
|
|
43
|
+
Applied Acoustics, 116, 50–58.
|
|
44
|
+
https://doi.org/10.1016/j.apacoust.2016.09
|
|
45
|
+
|
|
46
|
+
and our [software](https://zenodo.org/doi/10.5281/zenodo.3690794):
|
|
47
|
+
|
|
48
|
+
Sarradj, E., Herold, G., Kujawski, A., Jekosch, S., Pelling, A. J. R., Czuchaj, M., Gensch, T., & Oertwig, S..
|
|
49
|
+
Acoular – Acoustic testing and source mapping software.
|
|
50
|
+
Zenodo. https://zenodo.org/doi/10.5281/zenodo.3690794
|
|
43
51
|
|
|
44
52
|
# Dependencies
|
|
45
53
|
Acoular runs under Linux, Windows and MacOS and needs Numpy, Scipy, Traits, scikit-learn, pytables, Numba packages available.
|
|
46
54
|
Matplotlib is needed for some of the examples.
|
|
47
55
|
|
|
48
|
-
If you want to use input from a soundcard
|
|
56
|
+
If you want to use input from a soundcard, you will also need to install the [sounddevice](https://python-sounddevice.readthedocs.io/en/0.3.12/installation.html) package. Some solvers for the CMF method need [Pylops](https://pylops.readthedocs.io/en/stable/installation.html).
|
|
49
57
|
|
|
50
58
|
# Installation
|
|
51
59
|
|
|
@@ -53,22 +61,27 @@ Acoular can be installed via [conda](https://docs.conda.io/en/latest/), which is
|
|
|
53
61
|
|
|
54
62
|
conda install -c acoular acoular
|
|
55
63
|
|
|
56
|
-
This will install Acoular in your Anaconda Python
|
|
64
|
+
This will install Acoular in your Anaconda Python environment and make the Acoular library available from Python. In addition, this will install all dependencies (those other packages mentioned above) if they are not already present on your system.
|
|
57
65
|
|
|
58
66
|
A second option is to install Acoular via [pip](https://pip.pypa.io/en/stable/). It is recommended to use a dedicated [virtual environment](https://virtualenv.pypa.io/en/latest/) and then run
|
|
59
67
|
|
|
60
68
|
pip install acoular
|
|
61
69
|
|
|
62
|
-
For more detailed
|
|
70
|
+
For more detailed installation instructions, see the [documentation](https://acoular.org/install/index.html).
|
|
63
71
|
|
|
64
72
|
# Documentation and help
|
|
65
|
-
Documentation is available [here](
|
|
66
|
-
[getting started](
|
|
67
|
-
[examples](
|
|
73
|
+
Documentation is available [here](https://acoular.org) with a
|
|
74
|
+
[getting started](https://acoular.org/get_started/index.html) section and
|
|
75
|
+
[examples](https://acoular.org/auto_examples/index.html).
|
|
68
76
|
|
|
69
77
|
The Acoular [blog](https://acoular.github.io/blog/) contains some tutorials.
|
|
70
78
|
|
|
71
|
-
|
|
79
|
+
If you discover problems with the Acoular software, please report them using the [issue tracker](https://github.com/acoular/acoular/issues) on GitHub. Please use the [Acoular discussions forum](https://github.com/acoular/acoular/discussions) for practical questions, discussions, and demos.
|
|
80
|
+
|
|
81
|
+
# Contributing
|
|
82
|
+
|
|
83
|
+
We are always happy to welcome new contributors to the project.
|
|
84
|
+
If you are interested in contributing, have a look at the [CONTRIBUTING.md](CONTRIBUTING.md) file.
|
|
72
85
|
|
|
73
86
|
# Example
|
|
74
87
|
This reads data from 64 microphone channels and computes a beamforming map for the 8kHz third octave band:
|
|
@@ -105,4 +118,6 @@ interpolation='bicubic')
|
|
|
105
118
|
colorbar()
|
|
106
119
|
```
|
|
107
120
|
|
|
108
|
-

|
|
122
|
+
|
|
123
|
+
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# ------------------------------------------------------------------------------
|
|
2
|
+
# Copyright (c) Acoular Development Team.
|
|
3
|
+
# ------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
"""The Acoular library: several classes for the implementation of acoustic beamforming."""
|
|
6
|
+
|
|
7
|
+
import os
|
|
8
|
+
|
|
9
|
+
from . import demo, tools
|
|
10
|
+
from .calib import Calib
|
|
11
|
+
from .configuration import config
|
|
12
|
+
from .environments import (
|
|
13
|
+
Environment,
|
|
14
|
+
FlowField,
|
|
15
|
+
GeneralFlowEnvironment,
|
|
16
|
+
OpenJet,
|
|
17
|
+
RotatingFlow,
|
|
18
|
+
SlotJet,
|
|
19
|
+
UniformFlowEnvironment,
|
|
20
|
+
cartToCyl,
|
|
21
|
+
cylToCart,
|
|
22
|
+
)
|
|
23
|
+
from .fbeamform import (
|
|
24
|
+
BeamformerAdaptiveGrid,
|
|
25
|
+
BeamformerBase,
|
|
26
|
+
BeamformerCapon,
|
|
27
|
+
BeamformerClean,
|
|
28
|
+
BeamformerCleansc,
|
|
29
|
+
BeamformerCMF,
|
|
30
|
+
BeamformerDamas,
|
|
31
|
+
BeamformerDamasPlus,
|
|
32
|
+
BeamformerEig,
|
|
33
|
+
BeamformerFunctional,
|
|
34
|
+
BeamformerGIB,
|
|
35
|
+
BeamformerGridlessOrth,
|
|
36
|
+
BeamformerMusic,
|
|
37
|
+
BeamformerOrth,
|
|
38
|
+
BeamformerSODIX,
|
|
39
|
+
L_p,
|
|
40
|
+
PointSpreadFunction,
|
|
41
|
+
SteeringVector,
|
|
42
|
+
integrate,
|
|
43
|
+
)
|
|
44
|
+
from .grids import (
|
|
45
|
+
CircSector,
|
|
46
|
+
ConvexSector,
|
|
47
|
+
Grid,
|
|
48
|
+
ImportGrid,
|
|
49
|
+
LineGrid,
|
|
50
|
+
MergeGrid,
|
|
51
|
+
MultiSector,
|
|
52
|
+
PolySector,
|
|
53
|
+
RectGrid,
|
|
54
|
+
RectGrid3D,
|
|
55
|
+
RectSector,
|
|
56
|
+
RectSector3D,
|
|
57
|
+
Sector,
|
|
58
|
+
)
|
|
59
|
+
from .microphones import MicGeom
|
|
60
|
+
from .sdinput import SoundDeviceSamplesGenerator
|
|
61
|
+
from .signals import (
|
|
62
|
+
FiltWNoiseGenerator,
|
|
63
|
+
GenericSignalGenerator,
|
|
64
|
+
PNoiseGenerator,
|
|
65
|
+
SignalGenerator,
|
|
66
|
+
SineGenerator,
|
|
67
|
+
WNoiseGenerator,
|
|
68
|
+
)
|
|
69
|
+
from .sources import (
|
|
70
|
+
LineSource,
|
|
71
|
+
MaskedTimeSamples,
|
|
72
|
+
MovingLineSource,
|
|
73
|
+
MovingPointSource,
|
|
74
|
+
MovingPointSourceDipole,
|
|
75
|
+
PointSource,
|
|
76
|
+
PointSourceConvolve,
|
|
77
|
+
PointSourceDipole,
|
|
78
|
+
SourceMixer,
|
|
79
|
+
SphericalHarmonicSource,
|
|
80
|
+
TimeSamples,
|
|
81
|
+
UncorrelatedNoiseSource,
|
|
82
|
+
)
|
|
83
|
+
from .spectra import BaseSpectra, FFTSpectra, PowerSpectra, PowerSpectraImport, synthetic
|
|
84
|
+
from .spectra import PowerSpectra as EigSpectra
|
|
85
|
+
from .tbeamform import (
|
|
86
|
+
BeamformerCleant,
|
|
87
|
+
BeamformerCleantSq,
|
|
88
|
+
BeamformerCleantSqTraj,
|
|
89
|
+
BeamformerCleantTraj,
|
|
90
|
+
BeamformerTime,
|
|
91
|
+
BeamformerTimeSq,
|
|
92
|
+
BeamformerTimeSqTraj,
|
|
93
|
+
BeamformerTimeTraj,
|
|
94
|
+
IntegratorSectorTime,
|
|
95
|
+
)
|
|
96
|
+
from .tprocess import (
|
|
97
|
+
AngleTracker,
|
|
98
|
+
ChannelMixer,
|
|
99
|
+
Filter,
|
|
100
|
+
FilterBank,
|
|
101
|
+
FiltFiltOctave,
|
|
102
|
+
FiltFreqWeight,
|
|
103
|
+
FiltOctave,
|
|
104
|
+
MaskedTimeInOut,
|
|
105
|
+
Mixer,
|
|
106
|
+
OctaveFilterBank,
|
|
107
|
+
SamplesGenerator,
|
|
108
|
+
SampleSplitter,
|
|
109
|
+
SpatialInterpolator,
|
|
110
|
+
SpatialInterpolatorConstantRotation,
|
|
111
|
+
SpatialInterpolatorRotation,
|
|
112
|
+
TimeAverage,
|
|
113
|
+
TimeCache,
|
|
114
|
+
TimeConvolve,
|
|
115
|
+
TimeCumAverage,
|
|
116
|
+
TimeExpAverage,
|
|
117
|
+
TimeInOut,
|
|
118
|
+
TimePower,
|
|
119
|
+
TimeReverse,
|
|
120
|
+
Trigger,
|
|
121
|
+
WriteH5,
|
|
122
|
+
WriteWAV,
|
|
123
|
+
)
|
|
124
|
+
from .trajectory import Trajectory
|
|
125
|
+
from .version import __author__, __date__, __version__
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
#pylint: disable-msg=E0611, E1101, C0103, R0901, R0902, R0903, R0904, W0232
|
|
3
|
-
#------------------------------------------------------------------------------
|
|
1
|
+
# ------------------------------------------------------------------------------
|
|
4
2
|
# Copyright (c) Acoular Development Team.
|
|
5
|
-
|
|
6
|
-
"""
|
|
7
|
-
Implements calibration of multichannel time signals.
|
|
3
|
+
# ------------------------------------------------------------------------------
|
|
4
|
+
"""Implements calibration of multichannel time signals.
|
|
8
5
|
|
|
9
6
|
.. autosummary::
|
|
10
7
|
:toctree: generated/
|
|
@@ -13,69 +10,64 @@ Implements calibration of multichannel time signals.
|
|
|
13
10
|
"""
|
|
14
11
|
|
|
15
12
|
# imports from other packages
|
|
16
|
-
from numpy import array
|
|
17
|
-
from traits.api import HasPrivateTraits, CLong, File, CArray, Property, \
|
|
18
|
-
cached_property, on_trait_change
|
|
19
13
|
from os import path
|
|
20
14
|
|
|
15
|
+
from numpy import array
|
|
16
|
+
from traits.api import CArray, CLong, File, HasPrivateTraits, Property, cached_property, on_trait_change
|
|
17
|
+
|
|
21
18
|
# acoular imports
|
|
22
19
|
from .internal import digest
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Container for calibration data in `*.xml` format
|
|
27
|
-
|
|
21
|
+
|
|
22
|
+
class Calib(HasPrivateTraits):
|
|
23
|
+
"""Container for calibration data in `*.xml` format.
|
|
24
|
+
|
|
28
25
|
This class serves as interface to load calibration data for the used
|
|
29
|
-
microphone array.
|
|
26
|
+
microphone array. The calibration factors are stored as [Pa/unit].
|
|
30
27
|
"""
|
|
31
28
|
|
|
32
29
|
#: Name of the .xml file to be imported.
|
|
33
|
-
from_file = File(filter=['*.xml'],
|
|
34
|
-
desc="name of the xml file to import")
|
|
30
|
+
from_file = File(filter=['*.xml'], desc='name of the xml file to import')
|
|
35
31
|
|
|
36
32
|
#: Basename of the .xml-file. Readonly / is set automatically.
|
|
37
|
-
basename = Property(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
#: Number of microphones in the calibration data,
|
|
33
|
+
basename = Property(depends_on='from_file', desc='basename of xml file')
|
|
34
|
+
|
|
35
|
+
#: Number of microphones in the calibration data,
|
|
41
36
|
#: is set automatically / read from file.
|
|
42
|
-
num_mics = CLong(
|
|
43
|
-
desc="number of microphones in the geometry")
|
|
37
|
+
num_mics = CLong(0, desc='number of microphones in the geometry')
|
|
44
38
|
|
|
45
|
-
#: Array of calibration factors,
|
|
39
|
+
#: Array of calibration factors,
|
|
46
40
|
#: is set automatically / read from file.
|
|
47
|
-
data = CArray(
|
|
48
|
-
desc="calibration data")
|
|
41
|
+
data = CArray(desc='calibration data')
|
|
49
42
|
|
|
50
43
|
# Internal identifier
|
|
51
|
-
digest = Property(
|
|
44
|
+
digest = Property(depends_on=['basename'])
|
|
52
45
|
|
|
53
46
|
@cached_property
|
|
54
|
-
def _get_digest(
|
|
47
|
+
def _get_digest(self):
|
|
55
48
|
return digest(self)
|
|
56
|
-
|
|
49
|
+
|
|
57
50
|
@cached_property
|
|
58
|
-
def _get_basename(
|
|
51
|
+
def _get_basename(self):
|
|
59
52
|
if not path.isfile(self.from_file):
|
|
60
53
|
return ''
|
|
61
54
|
return path.splitext(path.basename(self.from_file))[0]
|
|
62
|
-
|
|
55
|
+
|
|
63
56
|
@on_trait_change('basename')
|
|
64
|
-
def import_data(
|
|
65
|
-
"""
|
|
66
|
-
Loads the calibration data from `*.xml` file .
|
|
67
|
-
"""
|
|
57
|
+
def import_data(self):
|
|
58
|
+
"""Loads the calibration data from `*.xml` file ."""
|
|
68
59
|
if not path.isfile(self.from_file):
|
|
69
60
|
# empty calibration
|
|
70
|
-
if self.basename=='':
|
|
71
|
-
self.data = None
|
|
61
|
+
if self.basename == '':
|
|
62
|
+
self.data = None
|
|
72
63
|
self.num_mics = 0
|
|
73
64
|
# no file there
|
|
74
65
|
else:
|
|
75
|
-
self.data = array([1.0
|
|
66
|
+
self.data = array([1.0], 'd')
|
|
76
67
|
self.num_mics = 1
|
|
77
68
|
return
|
|
78
69
|
import xml.dom.minidom
|
|
70
|
+
|
|
79
71
|
doc = xml.dom.minidom.parse(self.from_file)
|
|
80
72
|
names = []
|
|
81
73
|
data = []
|
|
@@ -84,4 +76,3 @@ class Calib( HasPrivateTraits ):
|
|
|
84
76
|
data.append(float(element.getAttribute('factor')))
|
|
85
77
|
self.data = array(data, 'd')
|
|
86
78
|
self.num_mics = self.data.shape[0]
|
|
87
|
-
|