GithubHelp home page GithubHelp logo

chrisfinlay / tabascal Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 160 KB

TrAjectory BAsed RFI Subtraction and CALibration (TABASCAL) of radio interferometry data. A source to visibility model for astronomical and RFI sources including near-field effects. Visibility data is jointly calibrated with excision of specific RFI contamination.

Python 100.00%
radio-astronomy radio-frequency-interference radio-interferometry lofar meerkat rfi-mitigation rfi-removal satellite ska-telescope gpu

tabascal's Introduction

tabascal

DOI:10.1093/mnras/stad1979 Documentation Status

TrAjectory BAsed RFI Subtraction and CALibration (tabascal) of radio interferometry data. A source to visibility model for RFI sources including certain near-field effects. Visibility data is jointly calibrated and cleaned from specific RFI contamination by modelling the RFI signal in the visibilities.

tabascal is written in JAX and Dask and can therefore use GPUs and/or CPUs and be distributed across clusters of these compute units.

Installation

git clone https://github.com/chrisfinlay/tabascal.git

Conda Environment (Recommended)

conda env create -n tab_env -f tabascal/env.yaml
pip install -e tabascal/

GPU

To enable GPU compute you need the GPU version of jaxlib installed. The easiest way is using conda, otherwise, refer to the JAX installation documentation.

conda install jaxlib=*=*cuda* jax cuda-nvcc -c conda-forge -c nvidia

Simulate a contaminated MeerKAT observation

python tabascal/examples/target_observation.py

Help function

python tabascal/examples/target_observation.py --help

Documentation

https://tabascal.readthedocs.io/en/latest/

Citing tabascal

@ARTICLE{Finlay2023,
       author = {{Finlay}, Chris and {Bassett}, Bruce A. and {Kunz}, Martin and {Oozeer}, Nadeem},
        title = "{Trajectory-based RFI subtraction and calibration for radio interferometry}",
      journal = {\mnras},
         year = 2023,
        month = sep,
       volume = {524},
       number = {3},
        pages = {3231-3251},
          doi = {10.1093/mnras/stad1979},
archivePrefix = {arXiv},
       eprint = {2301.04188},
}

tabascal's People

Contributors

chrisfinlay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tabascal's Issues

CondaValueError:

(base) gufei@AB24:~/rfi_code$ conda env create -f /home/gufei/rfi_code/tabascal/tabascal/examples/tabascal_env.yaml
Solving environment: failed

CondaValueError: Malformed version string '~': invalid character(s).

I encountered the above-mentioned issue while executing the command: conda env create -f tabascal/tabascal_env.yaml. Could it be a problem with my path? However, if I don't change the path, it will show another error: SpecNotFound: Can't process without a name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.