glue-solar documentation#
glue-solar provides solar physics functionality to glue, for multi-instrument interactive visualization.
Installing#
glue-solar needs Python 3.13 or later and Git. The steps below install both, and are the same on Windows, macOS and Linux after the first. glue-solar has no release yet, so it installs from its repository on GitHub.
Install Miniforge, which gives you Python and the
condacommand. If you have conda or mamba already, skip this step.Windows: download
Miniforge3-Windows-x86_64.exefrom that page and run it, keeping its choices as they are. Then open “Miniforge Prompt” from the Start menu. Type the commands of the next steps there.macOS and Linux: download the installer for your computer from that page. Open a terminal in the folder it is in, usually
Downloads, and run:bash Miniforge3-$(uname)-$(uname -m).sh
Answer
yeswhen it asks to initialize conda. Then close the terminal and open a new one.
Make an environment for glue-solar, with Python and Git in it, and activate it:
conda create -n glue-solar python=3.13 git conda activate glue-solar
Install glue-solar. This downloads glue and everything else it needs:
pip install git+https://github.com/glue-viz/glue-solar.git
Start glue:
glueglue-solar is loaded if the “Plugins” menu has “Browse observations…”. Go on to Getting started.
Each time you open a new terminal, or a new Miniforge Prompt on Windows, run conda activate glue-solar before
glue. To update glue-solar, run step 3 again with --upgrade after install.
If you already have Python 3.13 or later and Git, a venv in place of steps 1 and 2 works as well.
The O IV density preset of the line ratio diagnostic needs one more package, fiasco, which downloads a few GB of atomic data on its first use. To have it, use this in step 3:
pip install "glue-solar[density] @ git+https://github.com/glue-viz/glue-solar.git"
To change glue-solar’s code, install it from a clone in step 3:
git clone https://github.com/glue-viz/glue-solar.git
cd glue-solar
pip install -e .
- User Guide
- Developer Documentation
- API Reference
- glue_solar.sources.iris Module
- glue_solar.sources.maps Module
- glue_solar.sources.sst Module
- glue_solar.sources.dkist Module
- glue_solar.sources.dkist_actions Module
- glue_solar.sources.loaders.iris Module
- glue_solar.sources.loaders.scan Module
- glue_solar.quicklook Module
- glue_solar.lines Module
- glue_solar.regrid Module
- glue_solar.sources.moments Module
- glue_solar.sources.red_blue Module
- glue_solar.sources.doppler Module
- glue_solar.sources.mg_features Module
- glue_solar.sources.line_ratio Module
- glue_solar.sources.calibration Module
- glue_solar.sources.bursts Module
- Release History