You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, the value returned is \sum m_i Z_i with the division by \sum m_i at the end missing.
This is done correctly for the SFing and NSFing sub-components, however.
I haven't checked whether there are other similar problems but all the other outputs look correct when looking at our pipeline plots.
Second one is related to OpenMP and non-aperture quantities.
It seems that at least Zmet_gas and Mass_gas are not calculated correctly when running with OpenMP.
This plot shows the issue:
We'd expect Mass_gas to be Mass_gas_sf + Mass_gas_nsf.
This problem then translates into incorrect Z for the total.
If I switch off openMP then the problem is not there any more.
I think this means there is a problem with the private variables used for this calculation.
There might also be additional problems with other quantities; we haven't checked everything.
The text was updated successfully, but these errors were encountered:
The projected aperture metallicites also seem to be weird. But I couldn't come up with a sensible patch; I don't understand well enough how this whole code section works.
This was pointed out in #123, and while a patch was provided I followed
the style/checks from the surrounding code that avoid divisions by zero.
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
We identified two issues when computing the metallicities of substructures.
First one is a missing normalisation of the aperture-based total-gas Z.
This patch should fix it:
Basically, the value returned is
\sum m_i Z_i
with the division by\sum m_i
at the end missing.This is done correctly for the SFing and NSFing sub-components, however.
I haven't checked whether there are other similar problems but all the other outputs look correct when looking at our pipeline plots.
Second one is related to OpenMP and non-aperture quantities.
It seems that at least
Zmet_gas
andMass_gas
are not calculated correctly when running with OpenMP.This plot shows the issue:

We'd expect
Mass_gas
to beMass_gas_sf
+Mass_gas_nsf
.This problem then translates into incorrect Z for the total.
If I switch off openMP then the problem is not there any more.
I think this means there is a problem with the private variables used for this calculation.
There might also be additional problems with other quantities; we haven't checked everything.
The text was updated successfully, but these errors were encountered: