Giter Site home page Giter Site logo

jackknify's Introduction

Jack-knife

DOI Docs License: MIT

jackknifyis a Python-based package that jackknifes ALMA visibilities to create noise realizations from the observations.

Methodology

Jackknifing is a simple but effective tool to characterize the underlying noise distribution of any type of data set. This tool specifically is implemented for interferometric data. jackknify splits half the visibilities randomly in two subsets, then multiplies one half with -1 so that when the data is binned, any signal present in the data is averaged out. This creates observation-specific noise realization of the data, which can be used to for instance, sample the likelihood a false detection.

The full methodology can be found here and in an upcoming paper, which is still in preparation.

Installation

jackknify itself can be installed through

pip install jackknify

or alternatively

python -m pip install git+https://github.com/Joshiwavm/jackknify

or from the source

git clone https://github.com/Joshiwavm/jackknify
cd jackknify
pip install -e .

Dependancies

jackknify uses casatask and casatools to interface with CASA measurements. casatask and casatools requires casadata to load. Sadly, this is a ~350 MB sized file making the installment a bit slow. Further, when performing line searches, we make use of the package interferopy, which is a Python-based package for common tasks used in the observational radio/mm interferometry data analysis.

Trouble shooting casatask installation (if needed)

If you want to run jackknify on a Mac with an Apple Silicon chip, run it in a Rosetta terminal. To open a Rosetta session in your terminal, run:

/usr/bin/arch -x86_64 /bin/zsh --login

Further, casadata will download and store examples sets into the folder: ~/.casa/data. However, it might not have permission from the local machine to do so. If such an error comes up. Just run:

mkdir ~/.casa/data

To make the folder. That should solve most problems.

Documentation

For your convenience, there are notebooks on how to run and use jackknify for line inference. You can find them in the docs/notebooks folder. Also, check out the documentation here.

jackknify's People

Contributors

joshiwavm avatar lucadimascolo avatar

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.