def Mabs2L(Mabs,MUVsun=5.5):
    """
    Converting absolute magnitude(s) to luminosity in erg/s
    Using a default absolute magnitude of the sun (in UV) of 5.5 from http://www.ucolick.org/~cnaw/sun.html
    """
    Lsun        = 3.839e-11 # 1e44 erg/s
    Lobj        = 10**((MUVsun-Mabs)/2.5)*Lsun  # Luminosity in erg/s
    return Lobj