Skip to main content

A visualization tool for batdetect2 output files

Project description

Bat Detection Visualization

This directory contains scripts for processing bat detection data and creating visualizations.

Scripts

  • batdetect2_view.py: Main script to consolidate bat detection files and create a visualization. It also opens the visualization in the default web browser.
  • consolidate_detections.py: Script to consolidate JSON files containing bat detections and adjust timestamps.
  • create_visualization.py: Script to create an HTML visualization of bat detection data.

Installation

To install the required dependencies, run:

pip install -r requirements.txt

Usage

Running batdetect2_view.py

To run the main script, use the following command:

python batdetect2_view.py <source_dir> [--format <date_format>] [--output <output_file>]
  • <source_dir>: Directory containing the JSON files.
  • --format: (Optional) Date format for the input filenames. Default is %Y%m%d_%H%M%S.
  • --output: (Optional) Output HTML file name. If not specified, a default name based on the time range will be used.

Running consolidate_detections.py

To consolidate detection files, use:

python consolidate_detections.py <source_dir> [--format <date_format>] [--output <output_file>]

Running create_visualization.py

To create a visualization, use:

python create_visualization.py <input_file> [--output <output_file>]
  • <input_file>: Input JSON file with bat detections.
  • --output: (Optional) Output HTML file name. Default is bat_detections.html.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batdetect2_view-1.0.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batdetect2_view-1.0.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file batdetect2_view-1.0.1.tar.gz.

File metadata

  • Download URL: batdetect2_view-1.0.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for batdetect2_view-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8f75f795c70193d8149c54b06b9a653efa7a721f75bda469817ce94070f46773
MD5 a06d59dbfb7434bbc1354ca923ab4a73
BLAKE2b-256 582291b574989493da2ca4c9c142b2a860c8eedc8aefc06b62da1f37f351d3e8

See more details on using hashes here.

File details

Details for the file batdetect2_view-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for batdetect2_view-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fcad7a91f86f8eeb3cc520229c04fd75bf350501a2c4d5d3e7774669b281b39
MD5 62cfbc87fc95d5a1bca5f5e57dfa719e
BLAKE2b-256 5f0c4c9fb0c077582d99d4478cdc0b2e974524d5e911d38621bb2eeaaff27c8b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page