Skip to main content

A tool to annotate images of the Sun

Project description

Solar Annotator

CodeFactor PyPI version

A tool for annotating solar images with themes.

Install

It's best to install in a clean virtual environment to avoid package conflicts or incorrect versions.

On a Mac or Linux machine:

python -m venv venv
source venv/bin/activate
pip install solarannotator

On a Windows machine:

py -m venv venv
.\venv\Scripts\activate
py -m pip install solarannotator

For more details visit the Packaging guide.

Running and usage

Execute from the terminal after installing by running inside your virtual environment. SolarAnnotator

This launches the main software: Screenshot of tool

On the left hand side, you will see a preview that can be maniuplated with the controls below. It allows for viewing different SUVI channels with different configurations, e.g. one color versus three color. The preview controls allow you to select the minimum and maximum percentile shown as well as scale the image by raising all pixels to the selected power.

You interact by drawing on the preview image to create new regions in the thematic map. You can also relabel those patches by left-clicking in the thematic map with a new theme selected. Finally, you can see boundaries of regions from the thematic map back in the preview image by right clicking the thematic map.

Future

This tool is still under development. There are many features coming.

  • Ability to scale a single color image
  • Ability to scale in a three color image
  • Right click on a region in the thematic map and see its boundary in the preview
  • Left click on a region in the thematic map to re-annotate all the contiguous pixels
  • Undo annotations
  • Differentiate save and save as
  • Add color legend to radio buttons
  • Redo annotations, after ctrl-z
  • Overlay HEK and other pre-determined annotations
  • Multiple normalization options
  • Robustify the thematic map io for better metadata passing, also use SunPy maps
  • Add a help guide
  • Add an ability to load a template when you create a new date

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solarannotator-1.0.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

solarannotator-1.0.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file solarannotator-1.0.1.tar.gz.

File metadata

  • Download URL: solarannotator-1.0.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for solarannotator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1e1ff6d7e981b0bc61ca08833be0e8bbb7ba0aff6c5e414fa1baecb467db51e1
MD5 bb7637b0742e5b96021b410cbcac199a
BLAKE2b-256 e4a532d33b64f62f1ee8b572d357aa987463e3c3a24682c9a7bf0e32d194e164

See more details on using hashes here.

File details

Details for the file solarannotator-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for solarannotator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fd26644f0da364dffef0335a51dd1740f1fa69c405d5f9770e83fe1dca75a7a
MD5 f74682618080cd058ff35fcf08bd9f55
BLAKE2b-256 921df501b15e7ed546cab1f4029462cdce4c847edb4cce1fbb3b6809e7dfc4aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page