ratt-ru / Stimela-classic

Containerized radio interferometry scripting framework -- NB: Classic version is no longer in active development, use stimela 2! See README for details.
GNU General Public License v2.0
28 stars 16 forks source link

Eidos does not support --coefficients-file argument anymore #400

Closed KshitijT closed 4 years ago

KshitijT commented 5 years ago

Running Eidos to generate beams gives the following error:

INFO - eidos: error: unrecognized arguments: --coefficients-file /scratch/input/meerkat_coeff_dict.npy

No wonder, because this is the current Eidos help:

kshitij@snowleopard:~$ eidos --help
usage: eidos [-h] [-p PIXELS] [-d DIAMETER] [-r SCALE] -f FREQ [FREQ ...]
             [-c COEFF] [-P PREFIX] [-o8] [-T THRESH] [-S STOKES]

Create primary beam model of MeerKAT

optional arguments:
  -h, --help            show this help message and exit
  -p PIXELS, --pixels PIXELS
                        Number of pixels on one side
  -d DIAMETER, --diameter DIAMETER
                        Diameter of the required beam
  -r SCALE, --scale SCALE
                        Pixel scale in degrees
  -f FREQ [FREQ ...], --freq FREQ [FREQ ...]
                        A single freq, or the start, end freqs, and channel
                        width in MHz
  -c COEFF, --coeff COEFF
                        Which coefficients to use: mh for MeerKAT holography,
                        me for MeerKAT EM simulation and vh for VLA
                        holography?
  -P PREFIX, --prefix PREFIX
                        Prefix of output beam beam file(s)
  -o8, --output-eight   Output complex volatge beams (8 files)
  -T THRESH, --thresh THRESH
                        How many Zernike coefficients to use. Must be <=20.
  -S STOKES, --Stokes STOKES
                        If provided output will be in Stokes, i. e. Mueller,
                        formalism, instead of the default Jones formalism.
                        Specify 'I', 'Q', 'U', 'V' for the Stokes beams, or
                        'M' to get the full Mueller matrix. If you give 'IQ'
                        instead, the leakage from Q to I will be provided, and
                        so on for any other combination of Stokes parameters.

With no sign of --coefficient-file.

SpheMakh commented 4 years ago

Fixed