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:
-
Clone the repository:
git clone https://github.com/fawkez/magwake.git
-
Change the current working directory to the cloned folder:
cd magwake
-
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:
-
Clone the repository:
git clone https://github.com/fawkez/magwake.git
-
Change the current working directory to the cloned folder:
cd magwake
-
Build the distribution wheel file:
python setup.py sdist bdist_wheel
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for decamagwake-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01eb0806d233c0b4dcbae1640d5cf674fc1587fd7fad3cccd3c7fbde69593b44 |
|
MD5 | 5bc61afd3d7c30467b616da83159ba48 |
|
BLAKE2b-256 | b4461bfb09d642f464e201802a4106eed6d93b66eb2b7e025051633eff172c7d |