Lv1_ngc300_mathgrp_pha.py
def orb_phase_rate(orb_phase):
    """
    Returns the corresponding rate from the 20-binned folded profile
    """

    top = 0.022177
    bottom = 0.005351

    if (orb_phase > 0.25 and orb_phase <= 0.80): #off-eclipse
        rate = top

    elif (orb_phase > 0.9 and orb_phase <= 1) or (orb_phase >= 0.0 and orb_phase <= 0.1): #on-eclipse
        rate = bottom

    elif (orb_phase > 0.1 and orb_phase <= 0.15):
        ##### the rate is 0.011361
        rate = 0.011361

    elif (orb_phase > 0.15 and orb_phase <= 0.20):
        ##### the rate is 0.014107
        rate = 0.014107

    elif (orb_phase > 0.20 and orb_phase <= 0.25):
        ##### the rate is 0.019135
        rate = 0.019135

    elif (orb_phase > 0.80 and orb_phase <= 0.85):
        ##### the rate is 0.015688
        rate = 0.015688

    elif (orb_phase > 0.85 and orb_phase <= 0.90):
        ##### the rate is 0.011368
        rate = 0.011368

    return rate

    Returns the corresponding rate from the 20-binned folded profile
    
Returns the corresponding rate from the 20-binned folded profile
Returns the corresponding rate from the 20 - binned folded profile
def orb_phase_rate(orb_phase):
    top = 0.022177
    bottom = 0.005351
    if (orb_phase > 0.25 and orb_phase <= 0.80): 
        rate = top
    elif (orb_phase > 0.9 and orb_phase <= 1) or (orb_phase >= 0.0 and orb_phase <= 0.1): 
        rate = bottom
    elif (orb_phase > 0.1 and orb_phase <= 0.15):
        rate = 0.011361
    elif (orb_phase > 0.15 and orb_phase <= 0.20):
        rate = 0.014107
    elif (orb_phase > 0.20 and orb_phase <= 0.25):
        rate = 0.019135
    elif (orb_phase > 0.80 and orb_phase <= 0.85):
        rate = 0.015688
    elif (orb_phase > 0.85 and orb_phase <= 0.90):
        rate = 0.011368
    return rate
def orb_phase_rate ( orb_phase ) : top = 0.022177 bottom = 0.005351 if ( orb_phase > 0.25 and orb_phase <= 0.80 ) : rate = top elif ( orb_phase > 0.9 and orb_phase <= 1 ) or ( orb_phase >= 0.0 and orb_phase <= 0.1 ) : rate = bottom elif ( orb_phase > 0.1 and orb_phase <= 0.15 ) : rate = 0.011361 elif ( orb_phase > 0.15 and orb_phase <= 0.20 ) : rate = 0.014107 elif ( orb_phase > 0.20 and orb_phase <= 0.25 ) : rate = 0.019135 elif ( orb_phase > 0.80 and orb_phase <= 0.85 ) : rate = 0.015688 elif ( orb_phase > 0.85 and orb_phase <= 0.90 ) : rate = 0.011368 return rate
Returns the corresponding rate from the 20-binned folded profile
Returns the corresponding rate from the 20 - binned folded profile
"""
    Returns the corresponding rate from the 20-binned folded profile
    """ #off-eclipse #on-eclipse ##### the rate is 0.011361 ##### the rate is 0.014107 ##### the rate is 0.019135 ##### the rate is 0.015688 ##### the rate is 0.011368
orb_phase