How rongmon/rbcodes works
Project type and purpose
• This is an open-source Python toolkit (“rbcodes”) for astrophysical research and spectral analysis.
• It bundles a collection of core processing modules (continuum fitting, equivalent width computation, halo profiling, lens separation, etc.), GUI front-ends for interactive work, command-line scripts, example data, and tests.
File structure
• Top-level directories:
• GUIs: multiple GUI front-ends (abstools, multispecviewer, specgui, spectral_gui, zgui).
• IGM: core routines for intergalactic medium (continuum fitting, equivalent width).
• halo, lensing, catalog, rbstat: astrophysics-specific processing modules.
• utils: shared utilities (FITS I/O, region writing, SNR, etc.).
• tests: unit tests organized per module.
• docs: user and developer documentation for each component.
• Configuration files (environment.yml, requirements_simple.txt) declare dependencies.
• Example data sits under example-data for integration and demonstration.
README for additional insights
• Purpose: consolidate commonly used research codes into a single package, with GUIs and CLIs.
• Documentation lives in docs/main_readme.md.
• MIT-licensed, community contributions welcome.
Elements
• “calls” relationships (e.g. GUIs → IGM module)
• “reads/writes” data flows (e.g. IGM → FITS files)
• Presentation (blue)
• Domain logic (green)
• Utilities (yellow)
• Data sources (gray)
Detailed capturing of essential elements
• Testing layer invoking both GUIs and core modules.
• Documentation (docs/) as a side artifact depending on the codebase.