pyrad.io.write_histogram#

pyrad.io.write_histogram(bin_edges, values, fname, datatype='undefined', step=0)[source]#

writes a histogram

Parameters:
  • bin_edges (float array) – array containing the histogram bin edges

  • values (int array) – array containing the number of points in each bin

  • fname (str) – file name

  • datatype (str) – The data type

  • step (str) – The bin step

Returns:

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