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

dev-new_vorbin_flux #93

Merged
merged 38 commits into from
Feb 12, 2024
Merged

dev-new_vorbin_flux #93

merged 38 commits into from
Feb 12, 2024

Conversation

kateharborne
Copy link
Owner

Standardising which cubes/images output are voronoi binned.

Properties, such as the mass, flux and number of particles, are produced simply as the sum along that line-of-sight and as such should be presented at the pixel resolution of the instrument. As default, summed images are now given in this way, while any spectral/velocity cubes are binned along with any output average maps (kinematics such as velocity, dispersion, h3 and h4, metallicity and age).

The same is done for gas maps, with all but the mass, SFR and particle number being given in binned form when the voronoi function is turned on.

Also, added raw_images$mass_image to the output of spectral mode as this is now "free"" to produce. Added to the end of the output list of raw images so as to not cause any numerical indexing issues to arise in older code.

…length resolution, projected distance and line-of-sight velocity of that particle.
…t of these spaxel functions - need these maps to be at intrinsic instrument resolution, not binned.
…es come from the pixelated maps, not vorbinned ones.
… including the summed mass image as default (as in velocity method).
…t list in raw_images (in case anyone is querying these by index).
…ucing the same images but with now updated BUNIT in header file if mass flag TRUE, Msol.
… to a specific commit of the remote GitHub package.
…s. Also making sure added raw mass images output are unlinked at the end of the tests.
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (5e28509) 89.94% compared to head (8320c26) 90.89%.

Files Patch % Lines
R/utilities.R 86.41% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #93      +/-   ##
==========================================
+ Coverage   89.94%   90.89%   +0.94%     
==========================================
  Files          17       17              
  Lines        3472     3427      -45     
==========================================
- Hits         3123     3115       -8     
+ Misses        349      312      -37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Modifications for pak syntax
@kateharborne kateharborne merged commit 5af1ad3 into main Feb 12, 2024
6 checks passed
@kateharborne kateharborne deleted the dev-new_vorbin_flux branch March 13, 2024 05:21
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

Successfully merging this pull request may close these issues.

1 participant