Skip to main content

YONDER

A pYthON package for Data dEnoising and Reconstruction

Main paper:J-PLUS: A catalogue of globular cluster candidates around the M81/M82/NGC3077 triplet of galaxies

You can get the docs here!

YONDER is a package that uses singular value decomposition to perform low-rank data denoising and reconstruction. It takes a tabular data matrix and an error matrix as input and returns a denoised version of the original dataset as output. The approach enables a more accurate data analysis in the presence of uncertainties. Consequently, this package can be used as a simple toolbox to perform astronomical data cleaning.

How to install YONDER

The YONDER can be installed via the PyPI and pip:

pip install yonder

If you download the repository, you can also install it in the yonder directory:

git clone https://github.com/pengchzn/yonder
cd yonder
python setup.py install

How to use YONDER

Here is a simple example for the use of YONDER

from yonder import yonder
import numpy as np

#import the data
X = pd.read_csv('./datasets/Xobs.csv')
Xsd = pd.read_csv('./datasets/Xsd.csv')

# put the data into the algorithm
# Get the value
U, S, V = yonder.yonder(X, Xsd, 2)

# Get the denoised data
result = U @ S @ V.T

After the YONDER procedure, you can connect any additional algorithms or models to the denoised data.

You can test the test example in this notebook locally by yourself! If you are new to Python or don’t know how to run YONDER locally, you can click here to create a new Colaboratory notebook, so you can run YONDER in the cloud!

Requirements

  • python 3

  • numpy >= 1.21.0

  • Scipy >= 1.7.0

YONDER primarily uses the most recent version of Scipy for single value decomposition. Make sure your Scipy installation is up to date before using YONDER.

References

Metadata

Release files for yonder 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yonder 1.1
File Size Uploaded
yonder-1.1.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yonder 1.1
File Interpreter ABI Platform
yonder-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.9 kB

Release files / yonder-1.1.tar.gz

Download URL yonder-1.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
793b4d53fce73d1c21ae84747f9251a4893285fb32e36cd75d73b609b8aba4ff
BLAKE2b-256 checksum
How to use checksums
c9932e15ec43e19539b9b2e370dca450d4e1b18fc67fa4a5de0aeea58be6ec35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

Release files / yonder-1.1-py3-none-any.whl

Download URL yonder-1.1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1444f1c218938d3367cd3c8ef1de7c0953a85ef051ef0e3daf52d50aadcc475
BLAKE2b-256 checksum
How to use checksums
6f976536090ad72046a5adc4e013fd03986c6f7466a868a8350064b9dae72a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page