old_scripts/basicML.py
def burnup_label(burn_steps, cooling_ints):
    """
    Takes the burnup steps and cooling intervals for each case within the 
    simulation and creates a list of the burnup of the irradiated and cooled/ 
    decayed fuels; returns a list to be added as the burnup label to the main 
    dataframe.

    Parameters
    ----------
    burn_steps : list of the steps of burnup from the simulation parameters
    cooling_ints : list of the cooling intervals from the simulation parameters

    Returns
    -------
    burnup_list : list of burnups to be applied as a label for a given simulation

    """
    
    num_cases = len(burn_steps)
    steps_per_case = len(cooling_ints) + 2
    burnup_list = [0, ]
    for case in range(0, num_cases):
        for step in range(0, steps_per_case):
            if (case == 0 and step == 0):
                continue
            elif (case > 0 and step == 0):
                burn_step = burn_steps[case-1]
                burnup_list.append(burn_step)
            else:
                burn_step = burn_steps[case]
                burnup_list.append(burn_step)
    return burnup_list

    Takes the burnup steps and cooling intervals for each case within the 
    simulation and creates a list of the burnup of the irradiated and cooled/ 
    decayed fuels; returns a list to be added as the burnup label to the main 
    dataframe.

    Parameters
    ----------
    burn_steps : list of the steps of burnup from the simulation parameters
    cooling_ints : list of the cooling intervals from the simulation parameters

    Returns
    -------
    burnup_list : list of burnups to be applied as a label for a given simulation

    
Takes the burnup steps and cooling intervals for each case within the
simulation and creates a list of the burnup of the irradiated and cooled
decayed fuels; returns a list to be added as the burnup label to the main
dataframe.

Parameters

burn_steps : list of the steps of burnup from the simulation parameters
cooling_ints : list of the cooling intervals from the simulation parameters

Returns

burnup_list : list of burnups to be applied as a label for a given simulation
Takes the burnup steps and cooling intervals for each case within the simulation and creates a list of the burnup of the irradiated and cooled decayed fuels ; returns a list to be added as the burnup label to the main dataframe . Parameters burn_steps : list of the steps of burnup from the simulation parameters cooling_ints : list of the cooling intervals from the simulation parameters Returns burnup_list : list of burnups to be applied as a label for a given simulation
def burnup_label(burn_steps, cooling_ints):
    num_cases = len(burn_steps)
    steps_per_case = len(cooling_ints) + 2
    burnup_list = [0, ]
    for case in range(0, num_cases):
        for step in range(0, steps_per_case):
            if (case == 0 and step == 0):
                continue
            elif (case > 0 and step == 0):
                burn_step = burn_steps[case-1]
                burnup_list.append(burn_step)
            else:
                burn_step = burn_steps[case]
                burnup_list.append(burn_step)
    return burnup_list
def burnup_label ( burn_steps , cooling_ints ) : num_cases = len ( burn_steps ) steps_per_case = len ( cooling_ints ) + 2 burnup_list = [ 0 , ] for case in range ( 0 , num_cases ) : for step in range ( 0 , steps_per_case ) : if ( case == 0 and step == 0 ) : continue elif ( case > 0 and step == 0 ) : burn_step = burn_steps [ case - 1 ] burnup_list . append ( burn_step ) else : burn_step = burn_steps [ case ] burnup_list . append ( burn_step ) return burnup_list
Takes the burnup steps and cooling intervals for each case within the
simulation and creates a list of the burnup of the irradiated and cooled
decayed fuels; returns a list to be added as the burnup label to the main
dataframe.
Takes the burnup steps and cooling intervals for each case within the simulation and creates a list of the burnup of the irradiated and cooled decayed fuels ; returns a list to be added as the burnup label to the main dataframe .
"""
    Takes the burnup steps and cooling intervals for each case within the 
    simulation and creates a list of the burnup of the irradiated and cooled/ 
    decayed fuels; returns a list to be added as the burnup label to the main 
    dataframe.

    Parameters
    ----------
    burn_steps : list of the steps of burnup from the simulation parameters
    cooling_ints : list of the cooling intervals from the simulation parameters

    Returns
    -------
    burnup_list : list of burnups to be applied as a label for a given simulation

    """
burn_steps
cooling_ints