Skip to main content

Phase screen generation for aero-optics using boiling flow

Project description

This project includes a data-driven algorithm that generates synthetic time-series of images (of arbitrary duration) by estimating statistical parameters from an input time-series of images. Full documentation is available at https://boiling-flow.readthedocs.io .

Installing from PyPI

Use the following command:

pip install boiling_flow

Installing from Source

  1. Clone or download the repository:

    git clone git@github.com:jeffreyutley/boiling_flow
  2. Install the conda environment and package

    1. Option 1: Clean install from dev_scripts

      *****You can skip all other steps if you do a clean install.****

      To do a clean install, use the command:

      cd dev_scripts
      source clean_install_all.sh
    2. Option 2: Manual install

      Create a conda environment boiling_flow using the environment.yml file.

      conda env create -f environment.yml

      Anytime you want to use this package, this boiling_flow environment should be activated with the following:

      conda activate boiling_flow

Running Demo(s)

There are three demo scripts: parameter_estimates_from_measured_data.py, generate_phase_screen_data.py, and results_from_simulated_data.py. The former two scripts show an example of the boiling flow algorithm on measured data sets, while the latter first generates simulated data and then runs the boiling flow algorithm. The results_from_simulated_data.py script can be run without downloading any external data sets.

Before running the former two demo scripts, download the measured data sets:

Option 1. Install using shell script

Use the script get_demo_data_server.sh inside of the demo folder to automatically install the data and place it in the proper folder for the scripts parameter_estimates_from_measured_data.py and generate_phase_screen_data.py.

Inside of the parent directory (the boiling_flow folder containing this file), run the following:

source demo/get_demo_data_server.sh

Option 2. Manual install

To manually install the data sets, visit the Bouman data repository <https://www.datadepot.rcac.purdue.edu/bouman/> and download the .zip file TBL_data.zip.

Unzip the file and place the folder TBL_data inside of the data/demo directory.

Run any of the demo scripts from the parent directory (the boiling_flow folder containing this file) with the following command:

python demo/demo_file.py

The script generate_phase_screen_data.py loads an .npy file that is saved by parameter_estimates_from_measured_data.py, so the latter script must be run before the former.

Disclaimer

Approved for public release; distribution is unlimited. Public Affairs release approval # AFRL-2025-5580.

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

boiling_flow-0.1.2.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

boiling_flow-0.1.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file boiling_flow-0.1.2.tar.gz.

File metadata

  • Download URL: boiling_flow-0.1.2.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for boiling_flow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 106c8de0f9aa5d39bfe9dfc7e1a120dff17873e9ce33303eccd4dc6bc31dfd86
MD5 038257c0843126d547c786d676944525
BLAKE2b-256 c3692ea615fa935bb84d46e943d80390dbe86f545644cd6ca0e5f3562553d91d

See more details on using hashes here.

File details

Details for the file boiling_flow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: boiling_flow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for boiling_flow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f22fd712a189ab268aa138c2ba8293994cf695875b7b378da96b8352d79335c
MD5 bb346eb1e8c161a5d6ada9aff58add5b
BLAKE2b-256 abf7a68bc9d21a9fb183bf67a8f44d0cedea8bc93f37665151c23f26edbbbfbc

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