Skip to main content

Helper function to read IRAM GILDAS uvfit fits file

gildas_uvfit is a set of helper function to read uv-fit files procuded by GILDAS MAPPING/uv_fit task exported to the fits format by using the GILDAS CLIC/fits command

fits "blah.fits" from "blah.uvfit" /style standard /overwrite /bits -32

Then you can access the fitted values as astropy Table using python with

from astropy.table import Table
import gildas_uvfit

data = Table.read('data.fits', format='gildas_uvfit')

If you fixed the position and size of the source in the GILDAS MAPPING/uv_fit task then you can use specutils.Spectrum1D object to read the data directly

from specutils import Spectrum1D
from gildas_uvfit import specutils_custom_loader

spec = Spectrum1D.read('data.fits')

License

This project is Copyright (c) Alexandre Beelen and licensed under the terms of the BSD 3-Clause license. This package is based upon the Openastronomy packaging guide which is licensed under the BSD 3-clause licence. See the licenses folder for more information.

Contributing

We love contributions! gildas-uvfit is open source, built on open source, and we’d love to have you hang out in our community.

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one’s coding skills. Writing perfect code isn’t the measure of a good developer (that would disqualify all of us!); it’s trying to create something, making mistakes, and learning from those mistakes. That’s how we all improve, and we are happy to help others learn.

Being an open source contributor doesn’t just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you’re coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

Note: This disclaimer was originally written by Adrienne Lowe for a PyCon talk, and was adapted by gildas-uvfit based on its use in the README file for the MetPy project.

Metadata

Release files for gildas-uvfit 0.2

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

Source distribution (sdist)

Source distribution for gildas-uvfit 0.2
File Size Uploaded Provenance Actions
gildas_uvfit-0.2.tar.gz 17.8 kB Without provenance Details for gildas_uvfit-0.2.tar.gz

Release files / gildas_uvfit-0.2.tar.gz

Download URL gildas_uvfit-0.2.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3870c281a8bea7d7f1e724647e708248fcb6a9e3e35124e8f83ef8e6593781a0
BLAKE2b-256 checksum
How to use checksums
cabc459449259ff8f5569352614485568280da19a600e6f03f765d020395dce3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for gildas-uvfit 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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