Add VetStar Pi: a new Raspberry Pi OS port - #37
Merged
Conversation
A lightweight standalone build of both pipelines (Transit + Microlensing) under pios/, targeted at 1 GB Raspberry Pi hardware. Runs entirely offline with a Tkinter GUI matching the pinight/FeedMeSomePi pattern. Keeps the science: BLS, Lomb-Scargle, adaptive event detection with gap handling, centroid check, odd/even, secondary eclipse, shape, physics, verdict (transit); PSPL + Davenport-2014 flare + null with BIC verdict, symmetry score, observables and planet-detection predictions (microlensing). PNG plot exports and per-pipeline reportlab PDF reports are wired into both the GUI and the CLI. Drops what would blow the memory budget or need remote services: no React frontend, no MAST/TESScut/astroquery/MulensModel/tess-point, no DVT/HCI/POE/ExoMiner/FFI-cutout, no multi-sector orchestration, no joint TESS+Gaia fit. Only five pip deps, all with piwheels-prebuilt ARM wheels: numpy, scipy, astropy, matplotlib, reportlab. Install path: `curl -fsSL .../pios/fetch.sh | bash` sparse-checkouts only pios/, then install.sh sets up a venv under ~/.local/share/vetstar-pi/, drops a `vetstar-pi` launcher into ~/.local/bin/, installs a Science-menu .desktop entry, and refreshes the LXDE panel so it shows up without a logout. Render/Fly ignore this: pios/ is in .dockerignore so it never enters the Docker build context, and .github/workflows/ci-deploy.yml has paths-ignore: pios/** so pushes touching only the Pi port skip CI and deploy jobs. The cloud service is unchanged. README's Developer section is replaced with a VetStar Pi walkthrough; the cloud-studio API, project layout, and deploy notes are kept below as reference subsections. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A lightweight standalone build of both pipelines (Transit + Microlensing) under pios/, targeted at 1 GB Raspberry Pi hardware. Runs entirely offline with a Tkinter GUI matching the pinight/FeedMeSomePi pattern.
Keeps the science: BLS, Lomb-Scargle, adaptive event detection with gap handling, centroid check, odd/even, secondary eclipse, shape, physics, verdict (transit); PSPL + Davenport-2014 flare + null with BIC verdict, symmetry score, observables and planet-detection predictions (microlensing). PNG plot exports and per-pipeline reportlab PDF reports are wired into both the GUI and the CLI.
Drops what would blow the memory budget or need remote services: no React frontend, no MAST/TESScut/astroquery/MulensModel/tess-point, no DVT/HCI/POE/ExoMiner/FFI-cutout, no multi-sector orchestration, no joint TESS+Gaia fit. Only five pip deps, all with piwheels-prebuilt ARM wheels: numpy, scipy, astropy, matplotlib, reportlab.
Install path:
curl -fsSL .../pios/fetch.sh | bashsparse-checkouts only pios/, then install.sh sets up a venv under ~/.local/share/vetstar-pi/, drops avetstar-pilauncher into ~/.local/bin/, installs a Science-menu .desktop entry, and refreshes the LXDE panel so it shows up without a logout.Render/Fly ignore this: pios/ is in .dockerignore so it never enters the Docker build context, and .github/workflows/ci-deploy.yml has paths-ignore: pios/** so pushes touching only the Pi port skip CI and deploy jobs. The cloud service is unchanged.
README's Developer section is replaced with a VetStar Pi walkthrough; the cloud-studio API, project layout, and deploy notes are kept below as reference subsections.