suchismitasarker/qm2-detailed-dataanalysis ? reverse-engineered prompt
Reverse engineered prompt
Build me a single page Flask app for analyzing X ray scattering and diffraction data from a beamline.
I want a browser based tool where scientists can browse scan data, view plots, export the underlying data to CSV, and compare scans across temperatures. It should also have a section for working with NeXus data slices, including thin film, order parameter, lattice, and one dimensional linecut views, with options to export results and generate heatmaps or publication ready PDFs. Add a page for pyFAI azimuthal integration on detector images, plus a simple sample search tool so users can find scans and samples quickly.
Please keep it practical and easy to run locally, with clear configuration values for data folders and cache locations near the top of the app. If you need to check any current library details or best practices, look them up online. The finished app should feel like an internal lab tool, simple, fast, and usable from a web browser.
Are you gonna build this?
make sure you review the code using coderabbit