gecko
It's a small tool for working with 'SOHO' mission images. Aims to help the "Sungrazer" comet hunting project.
Currently available features:
- image data loader
import datetime
from gecko.data import JPEGDataLoader
loader = JPEGDataLoader(camera='c3') # instantiate data loader with specified camera (c2/c3)
# choose your datetime slice
start_datetime = datetime.datetime(2008, 7, 8, 7, 41, 0)
end_datetime = datetime.datetime(2008, 7, 8, 15, 45, 0)
images_paths = loader.ls_images(start_datetime, end_datetime) # list all images available for the period
images = [loader.get_image(x) for x in images_paths] # load them as PIL.JpegImagePlugin.JpegImageFile objects
first_image = images[0]
first_image # when in Jupyter Notebook you'll be able to render the image just like that
- simplify image
from gecko.transform import Simplifier
# this thing inverts colors to only white and black to keep the picture simple.
# `level=150` this tells the handler to whit out the pixel if its 'brightness' (RGB channels) is below this level (integer, 0 < level < 255)
# `add_pixels=<NUMBER_OF_PIXELS>` adds additional pixels around black ones so it's easier to track them with your eyes
simplifier = Simplifier(level=150, add_pixels=0)
simplified_images = [simplifier.transform(x) for x in images] # suppose we have `images` list of objects from the example above
first_simplified_image = simplified_images[0]
first_simplified_image # when in Jupyter Notebook you'll be able to render the image just like that
- create gif
from gecko.utils import create_gif
create_gif(images, 'test.gif') # suppose we have `images` list of objects from the example above
- display gif
from gecko.utils import display_gif
display_gif('test.gif') # display the gif inside the Jupyter Notebook
Working on:
- automated search
- validator
- report generator
Contacts: artkrasnyy@gmail.com
Metadata
Release files for gecko-soho 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gecko_soho-0.0.8.tar.gz | 18.4 MB | Without provenance | Details for gecko_soho-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gecko_soho-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for gecko_soho-0.0.8-py3-none-any.whl |
Total release size: 18.4 MB
Release files / gecko_soho-0.0.8.tar.gz
| Download URL | gecko_soho-0.0.8.tar.gz |
|---|---|
| Size | 18.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4268ab688584088d0a2b11d0ba6556f843d53613dfbd33b52466b5d200d1a1d
|
|
BLAKE2b-256 checksum How to use checksums |
942b23432aef707f91a7c3fb3c8437c2c6e86833ee87ccb59469a79c0f59a0fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.6
|
Release files / gecko_soho-0.0.8-py3-none-any.whl
| Download URL | gecko_soho-0.0.8-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f757166397ccf4d8112a589de3795f508cdc2eaef99db7324645b937aef18491
|
|
BLAKE2b-256 checksum How to use checksums |
fc3380ff8aa1226baa68566928a24190cf6a77e7f86f8362de818f60e5a11140
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.6
|
Security for gecko-soho 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.