astrochun / Zcalbase_gal

Python 3.x codes for Metallicity Calibration Database for galaxies (Zcalbase-gal)
2 stars 0 forks source link

Bug: Incorrect use of normalization for fits #100

Closed astrochun closed 3 years ago

astrochun commented 3 years ago

Similar to astrochun/Evolution-of-Galaxies#55, there is an error here: https://github.com/astrochun/Zcalbase_gal/blob/c1a53e4ca4380b529b1d7292218206bcc84d9f1d/analysis/deep2_r23_o32/zoom_and_gauss_general.py#L349

The tables use max0 or norm_array which is incorrect.