pyrad.io.write_trt_cell_scores#

pyrad.io.write_trt_cell_scores(traj_ID, flash_density_max_time, flash_density_max_rank, nflashes_max_list, area_flash_max_list, flash_density_max, rank_max_time, rank_max, fname)[source]#

writes TRT cells scores

Parameters:
  • traj_ID (array of ints) – The ID of the cells

  • flash_density_max_time (array of date times) – The time at which the maximum flash density was reached for each cell

  • flash_density_max_rank (array of floats) – The rank when the maximum flash density was reached for each cell

  • nflashes_max_list (array of ints) – the number of flashes when the max flash density was reached

  • area_flash_max_list (array of floats) – The area when the max flash density was reached

  • flash_density_max (array of floats) – The maximum flash density for each cell

  • rank_max_time (array of datetime) – the time at wich the maximum rank of each cell was reached

  • rank_max (array of float) – the rank when the maximum rank of each cell was reached

  • fname (str) – file name where to store the data

Returns:

fname (str) – the name of the file where data has written