Registry / data / aot-biomaps

aot-biomaps

JSON →
library2.9.749pypypiunverified

Aot-biomaps is a Python library providing tools for processing and visualizing Acousto-Optic Tomography (AOT) data, specifically focusing on generating biomaps from raw measurement files. It is currently at version 2.9.504 and appears to have an irregular release cadence, often tied to updates in its parent AOT repository. It facilitates the conversion of AOT data into meaningful spatial representations.

pip install aot-biomaps
INSTALL
IMPORT
SIG · AOT-BIOMAPS
A
aot-biomaps
datapythonv2.9.749
Install
19.2s avg
Import
Disk
738MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.9.749 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ timeout
✓ 22.7s
py 3.11
✕ timeout
✓ 16.8s
py 3.12
✕ timeout
✓ 16.05s
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ timeout
✓ 21.2s
738MB installed
● package 738MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Biomap
from aot_biomaps import Biomap
from aot-biomaps import Biomap
PyPI package names (with hyphens) are typically imported with underscores.
biomap_processing
from aot_biomaps import biomap_processing

This quickstart demonstrates how to initialize the `Biomap` object. It highlights the critical dependency on providing valid local `folder_path` (containing raw AOT measurement files) and `calibration_path` files. The actual processing methods you call will depend on your specific AOT data and analysis goals.

import os from aot_biomaps import Biomap # NOTE: This library heavily relies on specific folder structures and calibration files. # Replace these with actual paths to your AOT data and calibration files. # Dummy paths are used here for demonstration purposes. dummy_folder_path = os.path.join(os.path.dirname(__file__), 'dummy_aot_data') dummy_calibration_path = os.path.join(os.path.dirname(__file__), 'dummy_calibration.txt') # Create dummy files for the example to run without FileNotFoundError # In a real scenario, these would be your actual AOT measurement data. if not os.path.exists(dummy_folder_path): os.makedirs(dummy_folder_path) with open(os.path.join(dummy_folder_path, 'measurement_0001.txt'), 'w') as f: f.write('0 0 0\n1 1 1') with open(dummy_calibration_path, 'w') as f: f.write('1.0 0.0 0.0\n0.0 1.0 0.0\n0.0 0.0 1.0') try: # Initialize the Biomap object my_biomap = Biomap(folder_path=dummy_folder_path, calibration_path=dummy_calibration_path) # Example: Process data (replace with actual processing steps) # These methods might require specific data formats to succeed print(f"Biomap initialized with shape: {my_biomap.img_shape}") # Attempt to load and process data (these might fail without actual AOT data) if hasattr(my_biomap, 'load_data'): # This method is not directly available in current __init__ or Biomap class # Actual usage might involve calling processing methods after init print("No direct 'load_data' method found as an example, proceeding with other calls.") # If the Biomap class has methods like 'get_biomap' or 'calculate_something' if hasattr(my_biomap, 'get_biomap'): print("Calling get_biomap (placeholder)") # result = my_biomap.get_biomap() # Uncomment with real data print("Biomap object created successfully. Further methods depend on your AOT data structure.") except Exception as e: print(f"An error occurred during quickstart: {e}") print("Please ensure your 'folder_path' contains valid AOT measurement files and 'calibration_path' points to a correct calibration file.") # Clean up dummy files os.remove(os.path.join(dummy_folder_path, 'measurement_0001.txt')) os.remove(dummy_calibration_path) os.rmdir(dummy_folder_path)
aot-biomaps --version
Debug
Known issues
gotchaThe PyPI package `aot-biomaps` uses a hyphen, but Python imports require the package name to use underscores, i.e., `import aot_biomaps`.
fix
Always use `from aot_biomaps import ...` or `import aot_biomaps`.
affects: All versions
gotchaThe `Biomap` class requires valid paths to AOT data folders and a calibration file during initialization. Without these, the library cannot function, and examples will fail.
fix
Ensure you have actual AOT measurement data organized in a folder and a corresponding calibration file. Replace placeholder paths with your real data paths.
affects: All versions
gotchaThis library is highly specialized for Acousto-Optic Tomography. Its usage and functionality are deeply tied to specific AOT hardware and data formats, making it less suitable for general-purpose image or data processing tasks.
fix
Understand that the library's utility is within the AOT domain. Ensure you have the necessary domain knowledge and data.
affects: All versions
Upgrade
Version history
2.9.749latest on PyPI · released Jun 9, 2026
Audit
Dependencies
numpyrequiredFundamental for numerical operations and array manipulation.
scipyrequiredUsed for scientific computing, signal processing, and optimization.
matplotlibrequiredEssential for plotting and data visualization.
scikit-imagerequiredProvides algorithms for image processing.
numbarequiredUsed for optimizing Python code for speed.
tqdmrequiredDisplays progress bars for loops and operations.
opencv-pythonoptionalOptional: Provides computer vision functionalities.
Agent activity
44 hits · last 30 days
node
36
OpenAI (training)
1
Resources