Skip to main content

Testing installation of Package

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

decamagwake-0.1.2-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file decamagwake-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: decamagwake-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for decamagwake-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01eb0806d233c0b4dcbae1640d5cf674fc1587fd7fad3cccd3c7fbde69593b44
MD5 5bc61afd3d7c30467b616da83159ba48
BLAKE2b-256 b4461bfb09d642f464e201802a4106eed6d93b66eb2b7e025051633eff172c7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page