Home > Net >  How to make a histogram from 30 csv files to plot the historgram and then for it with gaussian funct
How to make a histogram from 30 csv files to plot the historgram and then for it with gaussian funct

Time:10-23

I want to make a histogram from 30 csv files, and then fit a gaussian function to see if my data is optimal. After that, I need to find the mean and standard deviation of those peaks. The file data size are too large, I do not know if I extract individual column and organize their value range into number of bins correctly.

I know it is a bit long and too many questions, please answer as much as you want, thank you very much!

plot result

As for question 3, I'm not sure which axis you'd like to capture the standard deviations of. If you'd like to get the standard deviation of columns, you can use np.std(data, axis=1), and use axis=0 for row-by-row standard deviation.

  • Related