Open SmirnGreg opened 3 years ago
Hi @SmirnGreg,
I happen to be working on using vis_sample with NOEMA data right now. I'm not particularly familiar with uvfits files, but the way I'm handling things is converting the uvfits files to measurement sets in CASA. Then I insert the REST_FREQ value into the SOURCE table in the measurement set, since GILDAS records the value as 0. If you want to talk more about this, feel free to shoot me an email at jnhuang AT umich DOT edu
Hello @ryanaloomis,
I am trying to use VISIBLE with NOEMA data. We are using GILDAS for data reduction. GILDAS can convert its own uv tables
uvt
format in multiple styles, including "CASA
"-compatibleuvfits
(I am not sure it actually is...). When I am trying to supply them toVISIBLE.matched_filter
,vis_sample
crashes in the following places:npol == 1
, line 22 squeezes thedata_VV_raw
array to an array of rank 3, not 4. Thus in lines 33-35, the second last index should be removed, right?dat[1].data['ch width']
. In the format I have, this is not available. Here are the columns I have in this array:Why would not you reuse
delt_freq
defined above? Overall, this looks strange to me --freq_start = dhd['CRVAL4']
refers to a value of amid_chan_freq = dhd['CRPIX4']
channel. Thus the frequencies in Hz should be something likeBut even when I change this, I get other shape mismatch errors later. Could you please help me debug this? I don't exactly see where can I find the expected shapes of the input arrays.
I understand that NOEMA may not be a priority for you, but it is now getting a huge upgrade, especially viable for astrochemistry purposes.
Hoping for a reply, Greg Smirnov-Pinchukov
========================== Max Planck Institute for Astronomy PhD student @ Planet and Star Formation