new_sfr = sfrv*(old_sfr/sum(sfrv))

new_sfr

"""
Explanation: This vector assumes that weighting with dage is not happening in Galaxia.
End of explanation
"""


sum(dage*new_sfr)

2.37*7

sum(new_sfr)

"""
Explanation: This vector assumes that weighting with dage is done in Galaxia
End of explanation
"""


