![]() |
|
Namespaces | |
| plotPSD | |
Variables | |
| plotPSD.fileName = sys.argv[1] | |
| read in the data file name More... | |
| plotPSD.lines = open(fileName).readlines() | |
| open the data file read all lines More... | |
| int | plotPSD.no = 0 |
| plotPSD.t = float(lines[no].split()[1]) | |
| plotPSD.n = int(lines[no].split()[0]) | |
| list | plotPSD.data = [[float(d) for d in line.split()] for line in lines[no + 1:]] |
| plotPSD.radius = np.array([dat[6] for dat in data]) | |
| plotPSD.figsize | |
| plot psd of data file define figure size in inch More... | |
| plotPSD.dpi | |
| plotPSD.probN = np.append(probCN[0], np.diff(probCN)) | |
| plotPSD.bins | |
| plotPSD.density | |
| plotPSD.True | |
| plotPSD.r = bins[:-1] | |
| plotPSD.R = bins[1:] | |
| plotPSD.probV = probN * (R**2+r**2) * (R+r) | |
| plotPSD.probCV = np.cumsum(probV) | |
| plotPSD.probCN = np.cumsum(probN) | |
| plotPSD.label | |
| plotPSD.csvName = sys.argv[2] | |
| read in cumulative number psd from csv More... | |