random_heat_flux_generator.py
def _save_data(t_data, q_data, T_amb_data: list, file_name: str):
    """
    Saving the data to a specified file
    """

    with open(file_name, "w") as csv_file:
        csv_writer = writer(csv_file)
        headers = ["Time", "HeatFlux", "T_amb", "Temperature"]
        csv_writer.writerow(headers)

        for index in range(np.size(q_data)):
            row = [t_data[index], q_data[index], T_amb_data[index], T_amb_data[index]]
            csv_writer.writerow(row)

    Saving the data to a specified file
    
Saving the data to a specified file
Saving the data to a specified file
def _save_data(t_data, q_data, T_amb_data: list, file_name: str):
    with open(file_name, "w") as csv_file:
        csv_writer = writer(csv_file)
        headers = ["Time", "HeatFlux", "T_amb", "Temperature"]
        csv_writer.writerow(headers)
        for index in range(np.size(q_data)):
            row = [t_data[index], q_data[index], T_amb_data[index], T_amb_data[index]]
            csv_writer.writerow(row)
def _save_data ( t_data , q_data , T_amb_data : list , file_name : str ) : with open ( file_name , "w" ) as csv_file : csv_writer = writer ( csv_file ) headers = [ "Time" , "HeatFlux" , "T_amb" , "Temperature" ] csv_writer . writerow ( headers ) for index in range ( np . size ( q_data ) ) : row = [ t_data [ index ] , q_data [ index ] , T_amb_data [ index ] , T_amb_data [ index ] ] csv_writer . writerow ( row )
Saving the data to a specified file
Saving the data to a specified file
"""
    Saving the data to a specified file
    """
t_data
q_data
T_amb_data
list
file_name
str