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

Bug (or Unexplained Result): CubeLineMoment Produces Highly-Clustered Mom2 Images #9

Open
jmangum opened this issue May 30, 2017 · 9 comments

Comments

@jmangum
Copy link
Collaborator

jmangum commented May 30, 2017

To see what issue this is referring to, use the most recent (just updated) NGC253-H2COJ32K02-CubeLineMomentInput.yaml file to produce H2COJ32K02 moments. The zeroth and first moments look reasonable, but the second moment is highly-clustered around 30 km/s, with just a few "high" spots near 35-40 km/s and a "noise floor" (moment2 values which are the fringes of where we detect signal, if we do at all) of about 20 km/s. I would not have expected the moment2 values to be so highly-clustered in this galaxy.

@keflavich
Copy link
Owner

I've started making a new set of diagnostic plots to try to understand exactly what's going on under the hood. They'll look like these:

ngc253-h2coj32k02_h2coj32k0_widthscale2 0_sncut2 0_widthcutscale1 5_spectraldiagnostics

ngc253-h2coj32k02_brightest_diagnostic

I still haven't hit the solution because I got distracted by some bugs in the 1D slicing in SpectralCube:
radio-astro-tools/spectral-cube#394

@jmangum
Copy link
Collaborator Author

jmangum commented Jun 1, 2017 via email

@jmangum
Copy link
Collaborator Author

jmangum commented Jun 1, 2017

I think that these diagnostic plots will help a lot with setting the my_line_width values for each transition to be extracted from the cube. At the moment one has to kind of guess what the half-width-zero-intensity is for each transition but then has no feedback as to how good or bad these HWZI values are.

@keflavich
Copy link
Owner

I'm a bit confused by the current set of results. It looks like there are two peaks in the H2CO data, which means all of the moments are invalid. Most likely that is another line and our selected width is too wide.

@jmangum
Copy link
Collaborator Author

jmangum commented Jun 1, 2017

Which H2CO line are you looking at?

@keflavich
Copy link
Owner

  1. There are definitely lines around.

There was a big bug in the whole width argument. I've fixed that now; width_scale=1 should do something much closer to correct.

@keflavich
Copy link
Owner

keflavich commented Jun 1, 2017

These are the H2CO lines selected from widthscale=1, sncut=2. They're better.

ngc253-h2coj32k02_h2coj32k0_moment0_widthscale1 0_sncut2 0_widthcutscale1 0

ngc253-h2coj32k02_h2coj32k0_moment1_widthscale1 0_sncut2 0_widthcutscale1 0

ngc253-h2coj32k02_h2coj32k0_moment2_widthscale1 0_sncut2 0_widthcutscale1 0

ngc253-h2coj32k02_h2coj32k0_widthscale1 0_sncut2 0_widthcutscale1 0_spectraldiagnostics

It still kinda looks like the linewidth is underestimated, but I'm not certain about that.

@jmangum
Copy link
Collaborator Author

jmangum commented Jun 1, 2017

I have been updating the yaml files with better HWZI estimates for the my_line_widths values. Pushed new versions, including NGC253-H2COJ32K02 yaml, which should include better linewidth estimates.

@jmangum
Copy link
Collaborator Author

jmangum commented Jun 1, 2017

With bug fix to width masking redid spot-checking of various mom0 images. Indeed results are more sensible and spot checking (where I compare by-eye integrated intensity calculation from spectral cube to mom0 image at select locations) shows quite good consistency.

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