Last active
May 27, 2020 01:05
-
-
Save Joelfranklin96/79a59bc11c15bb10ab145df45b077aa6 to your computer and use it in GitHub Desktop.
defining an object - 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Defining an object of guassian class | |
guassian_two = guassian() | |
# Reading the data from text file | |
guassian_two.read_text('sample.txt') | |
# Calculating the mean and standard deviation | |
guassian_two.calculate_mean() | |
guassian_two.calculate_stdev(False) | |
# Plotting the histogram | |
guassian_two.plot_histogram() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment