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

Uploaded Python 3

File details

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

File metadata

  • Download URL: boiling_flow-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4c42871259d5a00c23b5c2531de12f77711d9092f1bf81947d63f3186cd6ec40
MD5 fa0cf1470f5650c34dc1892626d6befa
BLAKE2b-256 c6a5973687ac49fe060c6d4770485c4396db35e8a11055ef927a22e35e7add8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: boiling_flow-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ca6819e0ce66cfbe6a74a0fe2a5f945440aef1f7ba8bcfd0af5fbf8ccdbd5b3
MD5 31cad7148d6918bfaebdddad9464b91c
BLAKE2b-256 1cc33192517b609d9406ba5bfe7a8a7310499179c6eba92ec7a1456827914d5d

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