This repository is dedicated to working on the Herschels in a Box project. The goal of the project is to create a Stellarium plugin which can run the various exploratory sweeps the Herschels did (starting with Caroline and William, though we might add John).
This was built for Stellarium 0.18.x and has not been tested on newer versions. Same goes for this documentation. (prior documentation used a deprecated version numbering system. the below documentation uses v0.18.0) For more packages, see https://github.com/Stellarium/stellarium/tags?after=v0.19.0
- Download Stellarium into /home/{{user}}/StelDev/stellarium
cd /home/{{user}}/StelDev
wget https://github.com/Stellarium/stellarium/archive/refs/tags/v0.18.0.tar.gz
- Download this repo
git clone https://github.com/Adolfo1519/Herschels
cd Herschels
- Copy the plugin folder (Herschels) to the stellarium dev directory you've set up
cp -r Herschels /home/{{user}}/StelDev/stellarium/plugins
- Our plugin needs a specific telescope and lens setting installed into the Oculars plugin, on which it depends. 2 options here:
- Overwrite the Oculars default file prior to installation
cp default_ocular.ini /home/{{user}}/StelDev/stellarium/plugins/Oculars/
- Take a look at those settings and use the stellarium gui to add them in the GUI after installation
- Overwrite the Oculars default file prior to installation
- This app requires a new function in the stellarium core to manage telescope motion in the sweeps.
- Overwrite the StelMovementMgr.* files in /home/{{user}}/StelDev/stellarium/src/core/ with the copies in this repo.
- Create a build directory and build the app from the altered source code
export STELROOT=/home/{{user}}/StelDev/stellarium
cd /home/{{user}}/StelDev/stellarium
mkdir -p builds/macosx
cd builds/macosx
cmake ../..
make
- Optional: make the mac app
- to delete from installations:
rm -rf Stellarium.app
make install
make mac_app
- to delete from installations:
- Launch the app (/home/{{user}}/StelDev/stellarium/builds/macosx/src/stellarium executable)
- Open plugins dashboard from left-hand toolbar
- Make sure your Herschel oculars exist and are properly configured
- Set Herschels to launch at startup
- Quit, and restart the app
- The Herschels plugin will now be available on the bottom toolbar
- sweeps_data.csv is the transcription of the sweeps
- formatSweepFile.py takes the data in this csv and creates default_sweep.ini
- ini_to_db.py imports the data into herschels_data.db
- Update sweeps_data.csv
- Run formatSweepFile.py
- Overwrite the file in /home/{{user}}/StelDev with the resulting ini file
- Delete the Herschel plugin application defaults for Stellarium, for example:
rm -rf ~/Library/Application\ Support/Stellarium/modules/Herschels
- Run through the installation instructions again, including checking and resetting the appropriate application default settings
Humanities Research Center and Center for Research Computing, Rice University
Canonical Repository link available at: https://scholarship.rice.edu/handle/1911/109852
License/Rights: CC0 1.0 Universal Link to License http://creativecommons.org/publicdomain/zero/1.0/
Article on this repository available at: https://doi.org/10.1162/leon_a_01832