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-0.1.0.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-0.1.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: batdetect2_view-0.1.0.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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 093fe3f82f391b4213c8497d1ac0da4c9434504c11baa596e1cf6f6da9dbc704
MD5 43a5aedd8db5ea2c4e8afaf13f333d39
BLAKE2b-256 2dc32b2bf8cf4c2449131fb30081975c66af350723d94944750f68ac2a54dbe9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batdetect2_view-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7517e13db9baa9ac2c545a0cf93199d5776e2bc0923a5974c3b3b9c2752a5542
MD5 b88f5436745057a6d6526729342635ee
BLAKE2b-256 a863996813ed4c131d96554bb0ec42d1eb508bd6223a6cb9bbcaaa64fd50db1f

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