mtazzari / galario

Gpu Accelerated Library for Analysing Radio Interferometer Observations
https://mtazzari.github.io/galario/
GNU Lesser General Public License v3.0
31 stars 15 forks source link

Change order of parameters inc-PA #83

Closed mtazzari closed 7 years ago

mtazzari commented 7 years ago

Swap the order of the inc and PA parameters in sampleProfile.

At the moment inc comes before than PA in sampleProfile:

vis = sampleImage(image, dxy, dist, u, v, dRA=0, dDec=0, PA=0, uvcheck=False)

vis = sampleProfile(intensity, Rmin, dR, nxy, dxy, dist, u, v, dRA=0, dDec=0, inc=0, PA=0, uvcheck=False)

Should be:

vis = sampleProfile(intensity, Rmin, dR, nxy, dxy, dist, u, v, dRA=0, dDec=0, PA=0,  inc=0, uvcheck=False)

Amend the pyx file, the tests, and the speed_benchmark.