How geraldmoesenlechner/stasis works
STASIS is presented as a Cython-based kinematic sky simulator for astronomical detectors, accepting a star-catalogue XML format. The sampled runtime code chiefly implements detector-image features—star masks and images, background, detector effects, and smearing—alongside numerical image and random-distribution utilities. The kinematics C file exposes only a trivial test function in the excerpt, so its substantive role is unclear. Python bindings and catalogue processing are present in the tree but were not sampled; their runtime connections are therefore not asserted.
Main entry points: STASIS_detector.c Detector image features · STASIS_utility.c Image convolution · _STASIS_detector.pyx Cython bindings
Components 12
Python interface
- Cython bindings
STASIS/Detector_features/_STASIS_detector.pyx - Kinematics module
STASIS/Sc_kinematics/sc_kinematics.c
Detector simulation
- Detector image features
STASIS/Detector_features/STASIS_detector.c - Star image generation
STASIS/Detector_features/STASIS_detector.c - Bias dark flat
STASIS/Detector_features/STASIS_detector.c - Background and shot noise
STASIS/Detector_features/STASIS_detector.c - Image smearing
STASIS/Detector_features/STASIS_detector.c
Numerical utilities
- Random distributions
STASIS/Utilities/STASIS_utility.c - Image operations
STASIS/Utilities/STASIS_utility.c - Image convolution
STASIS/Utilities/STASIS_utility.c
Other components
- Simulator user
- Star catalogue
Connections 10
- Simulator user → Cython bindings: uses simulator
README.md - Star catalogue → Simulator user: provides catalogue
README.md - Detector image features → Star image generation: generates
STASIS/Detector_features/STASIS_detector.c - Detector image features → Bias dark flat: generates
STASIS/Detector_features/STASIS_detector.c - Detector image features → Background and shot noise: generates
STASIS/Detector_features/STASIS_detector.c - Detector image features → Image smearing: smears
STASIS/Detector_features/STASIS_detector.c - Detector image features → Image operations: upsamples with
STASIS/Detector_features/STASIS_detector.c - Detector image features → Image convolution: convolves with
STASIS/Detector_features/STASIS_detector.c - Detector image features → Random distributions: samples with
STASIS/Detector_features/STASIS_detector.c - Image smearing → Image convolution: convolves with
STASIS/Detector_features/STASIS_detector.c