thomasorb / orcs

ORCS is an analysis engine for SITELLE spectral cubes.
GNU General Public License v3.0
9 stars 6 forks source link

Bug in map_sky_velocity() #8

Closed thomasorb closed 6 years ago

thomasorb commented 6 years ago

Fitting sky lines works on a single spectrum: aa0

But when mapping sky velocity with

cube = SpectralCube('M33-NE_SN3.merged.cm1.1.0.hdf5')
cube.map_sky_velocity(80, div_nb=10) # the mean velocity bias is set around 80 km/s

I get aa1

thomasorb commented 6 years ago

The correction made in the next branch (https://github.com/thomasorb/orcs/commit/2b1c76cb588c95150e76ea84bc4a6efacaaa363d) seems to be working. I consider this issue as closed.