Skip to main content

Simulating Baldr - the Zernike Wavefront Sensor for Asgard

Project description

BaldrApp

Simulating Baldr - the Zernike Wavefront Sensor for Asgard

Includes

  • A PyQt application for end-to-end simulatations and visualization of Baldr operations (closed and open loop for a single telescope). The gui allows downloading of configuration files and telemetry. After pip installation try type in a terminal (warning: it takes 1-2 minutes to calibrate before the app will appear):
closed_loop_pyqtgraph.py

The app contains a command prompt that is exposed to the full python environment of the simulation. The default initialised mode is open loop with a weak rolling Kolmogorov atmosphere, and calibrated zonal matricies with zero gain. Some basic commands to test :

zwfs_ns.ctrl.HO_ctrl.ki += 0.4 # put some non-zero gains

dynamic_opd_input=False #turn off rolling atmosphere phasescreen

M2C_0 = DM_basis.construct_command_basis( basis= "Zernike", 
number_of_modes = 20, without_piston=True).T # build a DM basis

dm_disturbance = M2C_0[5]* 1e-1 #put a static disturbance on the DM
  • A Streamlit application that simulates a Zernike Wavefront Sensor optical system using Fresnel diffraction propagation to model system mis-alignments. The default setup is for simulating the last (critical) part of the optical train of Baldr. After pip installation try type in a terminal:
Baldr_Fresnel_App.py
python
import baldrapp

Installation

pip install baldrapp

This has a dependancy on a forked version of the pyZELDA package (https://github.com/courtney-barrer/pyZELDA) which must be installed seperately

pip install pyzelda@git+https://github.com/courtney-barrer/pyZELDA.git@b42aaea5c8a47026783a15391df5e058360ea15e

Alternatvely the project can be cloned or forked from the Github:

git clone https://github.com/courtney-barrer/BaldrApp

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

baldrapp-0.1.3.tar.gz (133.8 kB view details)

Uploaded Source

Built Distribution

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

BaldrApp-0.1.3-py3-none-any.whl (161.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baldrapp-0.1.3.tar.gz
  • Upload date:
  • Size: 133.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for baldrapp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 614fd7130410e7c6fba1a7acfde41aa9faac035d385869968f3a97454d708d4f
MD5 bbcc5f9fe01cd0bc14e63308b0a35573
BLAKE2b-256 e2d28faeed7842d87a2ad505d7ce778d1e2c835e5d34eb2cda8b23bdb08e7715

See more details on using hashes here.

File details

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

File metadata

  • Download URL: BaldrApp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 161.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for BaldrApp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c039fc1ffae7219d25e1a53bef27b32c6d4b4a174708ba514a8646b8b03c3ff1
MD5 812ca7788de538d16d79f98f569a7d1e
BLAKE2b-256 a44ce16f72a96dca4d18aeca496495f47e423eee8a5717f65ea7d7f8d26c1db0

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