- Built the primary user interface using Panel and the HoloViz ecosystem, providing an intuitive dashboard for searching, browsing, and visualising results (x-ray observations).
- Integrated Plotly and Matplotlib to create dynamic, publication-quality visualisations of all generated data products.
Developed custom widgets for querying the database by target, mission, or observation ID, and for interacting with the plots.
Implemented a persistent data storage system using HDF5 to efficiently cache and serve all generated data products, preventing the need to re-run analyses.
- Created a structured data schema to logically organize the scientific products, making the database easy to query and maintain
- Integrated and extended the HEASARC retrieval pipeline by Matteo Bachetti into a robust, automated workflow for end-to-end data retrieval and processing.
Developed custom modules to handle and standardize the pipeline's output for multiple X-ray missions (e.g., NICER, NuSTAR & RXTE ), ensuring compatibility with the Stingray library
.
Fig. 1: The initial interface of the dashboard, where the user can select a telescope and a specific observation and then run the pipeline for data downloading, reduction, and database creation; the pipeline & controls card shows both the local database and the data (observations) available on the HEASARC browser.

Fig. 2: This figure shows the HID diagrams of each source, which, after the completion of the database creation, the user can plot via the local database section in the pipeline & plotting controls section. Each HID is an interactive plot associated with the PNGs and resembling observations of that source.
Fig.3: This figure displays data products, such as light curves and Power Density Spectra (PDS), for specific observations. These static plots are created as PNG images using Matplotlib and the Stingray library. All data products and metadata are stored in a main database file, which is an HDF5 file named after the source.
Fig 4: The figure below shows the Global HID diagram, which means plotting all sources of the same telescope in a single HID plot diagram. This way we can compare different outbursts and observations of the sources here; also, each point in the HID plot is interactive and associated with two data products: light curves and PDS.
3. Project Repository
The complete source code is available on GitHub. All contributions are documented, and one can check the commit history.
check here : Flyingray ( The Interactive X-ray Binaries Database ) Built with StingraySoftware
4. What's Left to Do
Machine Learning Integration
- Implement ML Models: Research and integrate the best machine learning algorithms according to our need (to classify sources into different states (e.g., hard, soft, intermediate) based on their PDS characteristics.
- Model Training Interface: Add a new section to the dashboard that allows users to train these models on the generated datasets and visualize the results (e.g., classification reports).
Comments
Post a Comment