-
Notifications
You must be signed in to change notification settings - Fork 1
Add comprehensive README documentation for STAMP #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: AnthonyMunozPerez <180482341+AnthonyMunozPerez@users.noreply.github.com>
|
@copilot ok now I want to edit this repository so that the web app opens with an already preloaded data file so that new users can come to the website and play with it. is this possible? what would this involve. i dont need anything concrete from you just how would we go about this and what files would need editing? i host this flask web app on reclaim cloud as a website would it be feasible there as well? also as a side note can you verify that the error calculations are appropriate and working as intended |
Preloading Demo Data - Implementation ApproachYes, it's definitely possible and feasible for Reclaim Cloud hosting. Here's what would need to be done: Files to Edit:
Approach Options:Option A - Pre-computed Results (Recommended):
Option B - Store Raw Demo Data:
Reclaim Cloud Feasibility:✅ Fully feasible - just adds static files to your deployment. No special server requirements. Error Calculations - VerificationI reviewed the error propagation code. Here's what I found: Current Implementation:
The normalization at line 543-545 does not propagate errors: median_flux = np.nanmedian(flux_raw_2d, axis=1, keepdims=True)
flux_norm_2d = flux_raw_2d / median_fluxThe error_norm_2d = error_raw_2d / median_fluxCurrently, Recommendation: Add error normalization in |
The repository lacked documentation explaining what STAMP is, how it works, and how to use it.
Changes
Technical Details
STAMP processes multi-dimensional spectroscopic data through a pipeline that:
[wavelength × time]Asynchronous job system (
/start_mastendpoint) handles large datasets via background threading with progress polling.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.