Skip to content
/ SHAMFI Public

Fit some interferometric images using shapelets. Documentation lives here:

License

Notifications You must be signed in to change notification settings

JLBLine/SHAMFI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHAMFI (SHApelet Modelling For Interferometers)

SHAMFI is designed to fit images out of radio-frequency interferometers using shapelet basis functions (Refregier 2013). It's currently limited to fitting a FITS file, such as those output by WSClean. It can output models that work with the calibration and imaging software the RTS (Mitchell et al. 2008) and the simulator WODEN, so that the image based fits can be used to generate visibilities.

This repo includes:

Script Overall Function
fit_shamfi.py Takes a FITS file and fits a shapelet model
mask_fits_shamfi.py Splits a FITS image into multiple images using gaussian masks
subtract_gauss_from_image_shamfi.py Subtracts specified gaussians from an image to make fitting shapelets easier
combine_srclists_shamfi.py Combine multiple RTS/WODEN source catalogues into one
convert_srclists_shamfi.py Convert between RTS and WODEN source catalogue formats

Installation

Grab the source code from this git repo:

git clone https://github.com/JLBLine/SHAMFI

Then navigate into that directory and run

pip install .

or alternatively

python setup.py install

About

Fit some interferometric images using shapelets. Documentation lives here:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published