Skip to content

thaddpotter/picc_stop

Repository files navigation

picc_stop

Packaged idl and python scripts for use in the PICTURE-C STOP model.

Dependencies

cbmidl, piccsim, and all of their dependencies.

Some scripts which use flight data, and will require the corresponding .idl file to be placed in data/flight.

Overall Workflow

Thermal:

gen_flight_temp - generates a csv list of temperature sensor data for a PICTURE-C flight 1. Could be used for flight 2 by changing the .idl it points to. This can be read into thermal desktop as a dlc file if the /label keyword is not used.

plot_td_err - plots various combinations of sensors and convergence for both static and transient thermal desktop calculations. Some file paths will need to be changed in order to point to the correct files for your simulation.

split_td_results - scans through thermal desktop .dat files from PP data mapper and inserts solve commands for automating multiple timesteps in ANSYS mechanical. Also able to convert from K to C.

Mechanical:

e2e_remove_bulk - Initially a test script for confirming the behavior of Zemax STAR module for global displacements, this script calculates the 3D displacement of the centroid of the first optic in a set of STAR exports and subtracts this value from all points in that folder. May have some effects on calculated beamwalk on this optic.

Optical:

STAR_controller.ipynb - used for controlling zemax using the interactive extension function. It does include some absolute file paths in the second block, so make sure to edit these for your use.

run_disturbed - Takes optical data from Zemax model and runs EFC to calculate drift in contrast over time. Note, must be called from the piccsim directory because it calls piccsim scripts.

Other scripts

plot_const - plots convective cooling coefficient given physical parameters.

roll_leakage - Calculates effect of roll leakage and boresight alignment error with WASP.

About

Packaged idl and python scripts for use in the PICTURE-C STOP model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors