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

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

Uploaded Python 3

Supported by

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