astrochun / Metallicity_Stack_Commons

Set of common codes used in metallicity studies that use stacking techniques
MIT License
0 stars 1 forks source link

Bug: array shape mismatch in metallicity_calculation using error prop arrays #49

Closed cmccormick1 closed 4 years ago

cmccormick1 commented 4 years ago

The Te_pdf array created from running analysis.error_prop.fluxes_derived_prop has shape (4,1000). When passed into analysis.temp_metallicity_calc.metallicity_calculation, n_sample is incorrectly set to the length of the T_e array (4,) instead of the shape (4,1000). Array shape mismatch when trying to assign det3 (an array the length of n_sample) to T_e.

astrochun commented 4 years ago

Fix implemented in hotfix/0.9.1

astrochun commented 4 years ago

Tested by @cmccormick1 with 704fd3f. Closing issue.