Skip to content

JAVA-IMAGING/python-imaging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-imaging

Rebrand to Python Imaging, still hoping to process astro-pics

Table of Contents

  1. Overview
  2. Packages used
  3. Project Setup
  4. Usage
  5. Extra

Overview

Just process the image

Packages used

List of packages used in this project can be found here

Project Setup

Prerequisites

Installation

We recommend creating a python environment

  1. Clone the repository

    git clone https://github.com/JAVA-IMAGING/python-imaging.git

  2. Navigate to project directory

    cd ./python-imaging

  3. Install required packages

    pip install -r requirements.txt

  4. Install PySiril python -m pip install pysiril-0.0.15-py3-none-any.whl

    This is a separate step because the package needs to be downloaded directly from the .whl file within this repository, provided by Siril

  5. Build project dependencies

    pip install -e .

    This step fixes issues when sibling packages try to import from one another.
    Consider a project management tool in the future, but this should suffice for now.

Extra notes:

If your IDE reports missing imports after performing the above steps, clear your Python cache and reload. We've come across this issue several times when using Visual Studio Code

Usage

  1. Navigate to project directory

    cd ./python-imaging

  2. Execute the help command python src/app.py --help or python src/app.py -h

  3. Usage: app.py [-h] [-dt] [-ft] [-w] drk_path flt_path trg_path

    positional arguments:

    • drk_path path to directory containing dark frames
    • flt_path path to directory containing flat frames
    • trg_path path to target image for processing

    options:

    • -h, --help show this help message and exit
    • -dt, --dark_type filter dark frames from drk_path
    • -ft, --flat_type filter flat frames from flt_path
    • -w, --write write every FITS file created to disk

Extra

Link of images for testing can be found here

About

Rebrand to Python Imaging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages