beam_solver
is a python package for estimating the primary beam of the Hydrogen Epoch of Reinozation Array by tracking astronomical sources.
The main goals of this package is 1) to generate images for any given bandwith using the CASA softaware 2) to generate a catalog of sources from the images 3) to construct the antenna or instrument beam pattern using measurements
First install dependencies.
- numpy >= 1.10
- scipy
- matplotlib
- astropy >= 2.0
- aipy
- h5py
- pyuvdata (
pip install pyuvdata
or use https://github.com/RadioAstronomySoftwareGroup/pyuvdata.git) - linsolve (https://github.com/HERA-Team/linsolve.git)
- hera_cal (https://github.com/HERA-Team/hera_cal.git)
- PyBDSF (https://github.com/lofar-astron/PyBDSF.git)
Clone the repo using
git clone https://github.com/Chuneeta/beam_solver.git
cd beam_solver
python setup.py install
Modules driving the beam_solver package:
A module to generate images from a miriad file using CASA. It includes modules that convert the miriad file to measurement set and CASA images to fits images
A module that runs PyBDSF on images and returns back a text file with the extracted sources. It can choose unique source within a given radius.
A module that generates a catalog of sources using the sources extracted by PyBDSF. The output catalog contains the flux values (peak) of a source from n snaphosts, the corresponding error associated with the extracted fluxes, hour angle values, ra-dec coordinates and az-alt coordinates.
A module to construct the primary beam using the measurements stored in the catalog.
It forms a linear system of equations which is fed to linsolve
to solve for the beam
values.
Requires installation of nose
package.
beam_solver
directory run: nosetests beam_solver
.
Bug reports or feature requests are also very welcome, please add them to the issue log after verifying that the issue does not already exist. Contact ridhima.nunhokee@curtin.edu.au for any queries or comments.