akleroy / phangs_imaging_scripts

CASA+python imaging and product creation scripts for PHANGS-ALMA
MIT License
29 stars 13 forks source link

handlerDerived open issues #137

Open low-sky opened 4 years ago

low-sky commented 4 years ago
akleroy commented 4 years ago

@low-sky Can you give a quick inventory of whether these are addressed?

Re: "Hybrid masking" - I think this is currently hard-coded, which we definitely need to fix. I will suggest that for next ADR discussion.

Re: "Maskless" - couple thoughts: what Jiayi and I have been doing is using the mask to define a velocity range, so a very, very light mask. It would also be good to get from Annie the algorithm used to make the "most agnostic" maps for the distributions.

I think the first three are implemented, though? Can you update and note open issues.

akleroy commented 4 years ago

Adding and closing other thread:

akleroy commented 4 years ago
akleroy commented 4 years ago

@low-sky If you want to consolidate issues or organize the thread, go for it. I would expect to be able to help out on this in a few days.

akleroy commented 4 years ago

May already be done. Consolidates #93

msannih commented 4 years ago

Re: "quasi-agnostic masks", for the distributions paper I care create moment-0 maps like this:

(i) use the moment-1 maps at 'low' resolution as a velocity template (I'm using 1kpc I think, but optimal value TBC). (ib) fill in any blanked pixels in the masked moment-1 maps with the value from model velocity field from the dynamics WG

(ii) make a crops dilated mask to identify significant emission in the hires cube and shuffle the mask to the template velocity field

(iii) shuffle cube to template velocity and define a fixed velocity window for integration (I'm using +/-30 km/s, but optimal value TBC)

(iv) logical OR the mask from (ii) and fixed velocity window from (iii)

(v) apply combined mask to shuffled hires cube and integrate

low-sky commented 4 years ago

Thanks! Is the shuffling necessary? Or could we measure a fixed number of channels around the centroid estimate?

msannih commented 4 years ago

shuffling is mechanically how i do it but you're right that specifying a channel range about the channel corresponding to the velocity centroid for each line of sight should be equivalent

1054 commented 4 years ago

Adding one issue:

akleroy commented 4 years ago

Some notes:

handlerDeriver.loop(do_convolution=True, do_noise=True, do_mask=True, do_maps=True)

or whatever. I can do this separation later, but from my side that's what we want to aim for.