Skip to content

nithyanandan/ClosureInvariants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClosureInvariants

ClosureInvariants is a Python package for calculating closure quantities such as closure phases and closure amplitudes using advariants and covariants derived from complex correlation data. These quantities are essential for robust interferometric analysis in radio astronomy and related fields.

Repository

The source code is hosted on GitHub: https://github.com/nithyanandan/ClosureInvariants

Installation

AstroUtils (https://github.com/nithyanandan/AstroUtils) is a dependency, so ensure it is installed first.

To install ClosureInvariants, first clone the repository:

git clone https://github.com/nithyanandan/ClosureInvariants.git
cd ClosureInvariants

Then install the package using pip:

pip install .

Alternatively, for editable development mode:

pip install -e .

Testing

To run the test suite using pytest, ensure pytest and pytest-cov are installed. For example,

pip install pytest pytest-cov

or

conda install pytest pytest-cov -c conda-forge

Then run:

pytest --pyargs -vv --cov ClosureInvariants

This will run all tests and generate a code coverage report.

Examples

Example usage of the package is provided in the form of Jupyter notebooks located in the examples folder.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.

Contact

For questions or support, please contact nithyanandan [dot] t [at] gmail [dot] com or open an issue on GitHub.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •