Skip to main content

Decamagwake

Decamagwake is a Python library that provides PSF photometry on DECAM data using the sextractor and psfex packages. This library is published on PyPI, and it can be installed using pip:

pip install decamagwake

Installation Requirements

Before installing Decamagwake, you need to have the following packages installed on your system:

  • astropy
  • numpy
  • pandas
  • sextractor
  • psfex

Usage

The following example shows how to use Decamagwake to perform PSF photometry on a DECAM data set:

from decam_lib import decam_processing

# Set up output and data directories
output_dir = 'tests/data_test/workdir'
data_dir = 'tests/data_test'

# Create Decam_pipeline object
pipeline_test = decam_processing.Decam_pipeline(output_dir=output_dir, data_dir=data_dir, config_dir='tests/config')

# Perform PSF photometry
pipeline_test.photometry()

# Make final catalogs
pipeline_test.join_final_catalogs2()

# Delete temporary files
pipeline_test.delete_temp()

License

This library is released under the MIT license. See LICENSE for more information.

In addition to the pip install method, you can also install Decamagwake by cloning the repository from GitHub. Here are the steps to follow:

  1. Clone the repository:

    git clone https://github.com/fawkez/magwake.git
    
  2. Change the current working directory to the cloned folder:

    cd magwake
    
  3. Install the library using the setup.py file:

    python setup.py install
    

    This will install the library and its dependencies.

Alternatively, you can install the library from the distribution wheel file using pip:

  1. Clone the repository:

    git clone https://github.com/fawkez/magwake.git
    
  2. Change the current working directory to the cloned folder:

    cd magwake
    
  3. Build the distribution wheel file:

    python setup.py sdist bdist_wheel
    
  4. Install the distribution wheel file using pip:

    pip install dist/decampipe-0.1-py3-none-any.whl
    

This will install the library and its dependencies.

Contributing

Contributions to this library are welcome. Please see CONTRIBUTING.md for more information.

Contact

If you have any questions or comments about this library, please contact us at decamagwake@gmail.com

Metadata

Release files for decamagwake 0.1.2

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

Built distribution (wheel)

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

Release files / decamagwake-0.1.2-py3-none-any.whl

Download URL decamagwake-0.1.2-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01eb0806d233c0b4dcbae1640d5cf674fc1587fd7fad3cccd3c7fbde69593b44
BLAKE2b-256 checksum
How to use checksums
b4461bfb09d642f464e201802a4106eed6d93b66eb2b7e025051633eff172c7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

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