Comments (4)
This should also be the case in L1348, called when using tp2vispl:
# Loop over SPWs
# --------------
for ispw in spwlist:
# SPW info and set constraints to reduce data to load
ms.selectinit(reset=True) # all spws
from distribute.
Check near line L1000 also, when oper == 'beammatch':
# Sumup the weights of INT visibilities [/GHz/pnt/arcmin2]
# --------------------------------------------------------
sumw = 0.0
for ims in msINT:
ms.open(ims,nomodify=True) # open MS
ms.selectinit(reset=True) # all spws
spwinfo = ms.getspectralwindowinfo() # get spw info
spwlist = spwinfo.keys() # list of SPWs
iarray = guessarray(ims) # array name [e.g. ALMA12]
fwhm0 = t2v_arrays[iarray]['fwhm100'] # beam FHWM @100GHz[arcsec]
for ispw in spwlist: # loop over SPWs
ms.selectinit(reset=True) # all spws
spwid = spwinfo[ispw]['SpectralWindowId'] # spw #
from distribute.
In the development version there are numerous examples, they all highly splitting by SPW, partially because that's how we usually get the data. So Im not surprised these issues come up, we simply haven't been using it in this mode.
Do you have a good use case where you need to run it over spw's?
from distribute.
In the datasets I have, then each execution is assigned a different spectral window (and therefore the concat *.ms file has several SPWs). All should have the same frequency. But, the tp2vispl and tp2viswt will not work with more than 1 "SPW" in the .ms file, at least that's my experience. So, the option is either to take only the first SPW, or actually loop over all of them. Right?
from distribute.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distribute.