Skip to main content
Release file added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

# LCO-AliPy

This is a python package to quickly, automatically, and robustly identify geometrical transforms between optical astronomical images, using only field stars. The images can have different pixel sizes, orientations, pointings and filters.

It is designed to work exclusively with reduced data from [Las Cumbres Observatory](https://lco.global). FITS data from LCO is [Rice compressed](https://heasarc.gsfc.nasa.gov/fitsio/fpack/) and contains sources extracted using [SEP](https://sep.readthedocs.io/en/v1.0.x/) during our data pipeline processing.

## Installation

Download this repository :
`python setup.py install`


## Example usage

```python
from fits_align.ident import make_transforms
from fits_align.align import affineremap
from glob import glob
from numpy import shape

tmp_dir = "<FULL PATH TO INPUT FILES>"

img_list = sorted(glob(os.path.join(tmp_dir,"*.fz")))
ref_image = img_list[0]
images_to_align = img_list[1:]
hdu = fits.open(ref_image)
data = hdu[1].data
outputshape = shape(data)

identifications = make_transforms(ref_image, images_to_align)

for id in identifications:
if id.ok:
affineremap(id.ukn.filepath, id.trans, shape=(outputshape[1],outputshape[0]), outdir=tmpdir)

aligned_images = sorted(glob(tmpdir+"/*_affineremap.fits"))
```

## About

This is a customised fork of [AliPy by Malte Tewes](http://obswww.unige.ch/~tewes/alipy/). I have removed the dependency on SciPy in favour of pure NumPy (for linear algebra) and Pillow (for image array transforms).


Metadata

Release files for fits-align 0.4.1

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for fits-align 0.4.1
File Size Uploaded Provenance Actions
fits_align-0.4.1.tar.gz 31.0 kB Without provenance Details for fits_align-0.4.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fits-align 0.4.1
File Interpreter ABI Platform Actions
fits_align-0.4.1-py3.6.egg Legacy Egg format - - Details for fits_align-0.4.1-py3.6.egg
fits_align-0.4.1-py3-none-any.whl Python 3 none any Details for fits_align-0.4.1-py3-none-any.whl

Total release size: 107.5 kB

Release files / fits_align-0.4.1.tar.gz

Download URL fits_align-0.4.1.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bb3816322307c13dbc45e2c9a631272eb17c8fc5cd9c5c3504f20d2d15026c91
BLAKE2b-256 checksum
How to use checksums
cb9fefc0e866908b4fa36073aad30e33880a5a67fdd9eae25a48d6e3cf67b7f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

Release files / fits_align-0.4.1-py3.6.egg

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL fits_align-0.4.1-py3.6.egg
Size 52.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
f37dea515c5c41874db8d6dba91b064803e88747ba379061fc756bf730ddaeed
BLAKE2b-256 checksum
How to use checksums
f72bcfee17cd65f421c08227f4760fc04388a1001306116036c1045ad3ccda4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.2

Release files / fits_align-0.4.1-py3-none-any.whl

Download URL fits_align-0.4.1-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee591dddf08bd7339b0aa3281e0f51e6b2d1c69dbfe793483ecabd6efe8a3896
BLAKE2b-256 checksum
How to use checksums
75ac1c796ba02e691a9c9051401a5514dd2771229d50b29262baab1fa8d656dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

Security for fits-align 0.4.1

Upload timing

Release file added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


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.

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