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

  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.1.tar.gz (16.6 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.1-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: boiling_flow-0.1.1.tar.gz
  • Upload date:
  • Size: 16.6 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.1.tar.gz
Algorithm Hash digest
SHA256 acc79d0b8117e94d66813111a1ee696c78243e4b97f87d553ec1e51d826085a2
MD5 8daf88fa636e77d27bb4f966ca627a66
BLAKE2b-256 b3cbbf98f9cbaa83d936daea891fbb55a2495d4dc639258929574f8ead129dc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: boiling_flow-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32088024514659b84908d1113ab2263993fca1aeb6c7a8098c005d1a3beeafdd
MD5 b5d955d6a6d2d912911d771298b1cb3b
BLAKE2b-256 602888e93acde38982d327ec975034d6dd91622aab6bd4933252b66ea0a6cd02

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