Skip to main content

BaldrApp

Simulating Baldr - the Zernike Wavefront Sensor (ZWFS) for VLTI/Asgard

Various modules and examples for testing end-to-end a ZWFS. Optionally includes, and extends the machinary of pyZelda to deal with specific details of Baldr, including its unique optics, coldstops, DMs and phasemasks.

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

The pip installation was tested on only on python 3.12.7.

Older versions of the app also included:

  • 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):
python -m baldrapp.apps.baldr_closed_loop_app.closed_loop_pyqtgraph

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:
python -m baldrapp.apps.baldr_alignment_app.Baldr_Fresnel_App

These have not been upgraded for recent versions of BaldrApp so may not run (yet).

Metadata

Release files for BaldrApp 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BaldrApp 0.1.8
File Size Uploaded
baldrapp-0.1.8.tar.gz 258.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for BaldrApp 0.1.8
File Interpreter ABI Platform
baldrapp-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 557.3 kB

Release files / baldrapp-0.1.8.tar.gz

Download URL baldrapp-0.1.8.tar.gz
Size 258.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c5c5323541f98d06efafe453cb6e1663b9f6cfdce3e121a71cb528f682276f9c
BLAKE2b-256 checksum
How to use checksums
37dcb98e48c2402f63ac183bd8b0f1c9d599dce8754ddd523f68dcbf868b94e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release files / baldrapp-0.1.8-py3-none-any.whl

Download URL baldrapp-0.1.8-py3-none-any.whl
Size 298.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cfa024742498acadcb9d684f9ce6f5945ad12326a08ed76e293c597231c8d6a
BLAKE2b-256 checksum
How to use checksums
3cf0b956aac873afe185f62ec52887f835a5e33ae2dd7385938869e147fd36ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page