Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequency not found in h5 file #326

Open
ErikOsinga opened this issue Feb 23, 2021 · 2 comments
Open

Frequency not found in h5 file #326

ErikOsinga opened this issue Feb 23, 2021 · 2 comments

Comments

@ErikOsinga
Copy link

Hi,

I am trying to apply solutions with DPPP using the following command:

DPPP 

msin=./TC003.MS
msin.datacolumn=MODEL_DATA
msout = .
msout.datacolumn=MODEL_DATA
cor.invert=False
cor.parmdb=./cal-amp1-c00-ddcal0016-cdd06.h5
cor.correction=amplitude000
numthreads=24
steps=[cor]
cor.type = applycal

but I am getting the error that the frequency of my MS is outside of the frequencies in the solution file.
std exception detected: Frequency 62767028.808594 not found in sol000/amplitude000

Is there no extrapolation at all in DPPP?

@tammojan
Copy link
Collaborator

There is a bit of extrapolation at the beginning and end of the solutions. For example, if you have solutions at 10, 20, 30, 50 MHz and use nearest-neighbor interpolation (the default), DPPP will accept frequencies from 5MHz to 60MHz, i.e. it assumes that the cell width of the first and last cell are symmetric. See https://git.astron.nl/RD/schaapcommon/-/blob/master/src/h5parm/soltab.cc#L518

@tammojan
Copy link
Collaborator

As discussed with Reinout and Francesco, we can extrapolate a bit further which will accommodate some common cases of averaging. Merge request here: https://git.astron.nl/RD/schaapcommon/-/merge_requests/24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants