Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: riccardoc95
  • License: lgpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 246 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Created about 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Python 3.8 Python 3.8.5 Python 3.9

alt text © Copyright by Ceccaroni, R., Brutti, P., Castellano, M., Fontana, A., Merlin, E.

Description

TIS is a Python library for the segmentation of astronomical images. It uses persistent homology to find and separate objects.

License

TIS is free software: you can redistribute it and / or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Installation

1) Clone this repository: bash git clone https://github.com/riccardoc95/TIS.git 2) Go to this repository: bash cd TIS

3) Install TIS package: bash pip install -e .

How to use

1) (Default options) Run:

python -m tis Default paths is ./data/img.fits for image and ./data/rms.fits for rms map. To change inputs and outputs you can use tags: * --img: to change the path of the image * --rms: to change the path of the rms map * --output: to specify the output folder

Example: python -m tis --img /path/of/img.fits --rms /path/of/rms.fits --output /output_folder/

2) (Custom options) Run: python -m tis --export_config . to export the configuration file to the current directory. Then, edit the file tis.conf and run the script as in point 1 in the same directory as the configuration file.

Input file format

The script takes only .fits files as input.

Output file format

The segmentation is in .fits format while the file containing the information is in .csv format.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Owner

  • Name: Riccardo Ceccaroni
  • Login: riccardoc95
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Ceccaroni"
  given-names: "Riccardo"
  orcid: ""
- family-names: "Brutti"
  given-names: "Pierpaolo"
  orcid: ""
- family-names: "Castellano"
  given-names: "Marco"
  orcid: ""
- family-names: "Fontana"
  given-names: "Adriano"
  orcid: ""
- family-names: "Merlin"
  given-names: "Emiliano"
  orcid: ""
title: "TIS - Topological Image Segmentation"
version: 0.1
doi: 
date-released: 2022-02-23
url: "https://github.com/riccardoc95/TIS"

GitHub Events

Total
Last Year

Dependencies

requirements.txt pypi
  • Deprecated ==1.2.13
  • Pillow ==9.1.0
  • PyWavelets ==1.3.0
  • PyYAML ==6.0
  • astropy ==5.0.4
  • cycler ==0.11.0
  • fonttools ==4.31.2
  • hopcroftkarp ==1.2.5
  • imageio ==2.16.1
  • joblib ==1.1.0
  • kiwisolver ==1.4.2
  • matplotlib ==3.5.1
  • nest-asyncio ==1.5.5
  • networkx ==2.7.1
  • numpy ==1.22.3
  • packaging ==21.3
  • pandas ==1.4.2
  • persim ==0.3.1
  • photutils ==1.4.0
  • pyerfa ==2.0.0.1
  • pyparsing ==3.0.7
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • scikit-image ==0.19.2
  • scikit-learn ==1.0.2
  • scipy ==1.8.0
  • six ==1.16.0
  • threadpoolctl ==3.1.0
  • tifffile ==2022.3.25
  • wrapt ==1.14.0
setup.py pypi
  • Deprecated ==1.2.13
  • Pillow ==9.1.0
  • PyWavelets ==1.3.0
  • PyYAML ==6.0
  • astropy ==5.0.4
  • cripser *
  • cycler ==0.11.0
  • fonttools ==4.31.2
  • hopcroftkarp ==1.2.5
  • imageio ==2.16.1
  • joblib ==1.1.0
  • kiwisolver ==1.4.2
  • matplotlib ==3.5.1
  • nest-asyncio ==1.5.5
  • networkx ==2.7.1
  • numpy ==1.22.3
  • packaging ==21.3
  • pandas ==1.4.2
  • persim ==0.3.1
  • photutils ==1.4.0
  • pyerfa ==2.0.0.1
  • pyparsing ==3.0.7
  • python-dateutil ==2.8.2
  • pytz ==2022.1
  • scikit-image ==0.19.2
  • scikit-learn ==1.0.2
  • scipy ==1.8.0
  • six ==1.16.0
  • threadpoolctl ==3.1.0
  • tifffile ==2022.3.25
  • wrapt ==1.14.0