0.0.63
This commit is contained in:
parent
af124f7019
commit
0476a7ca9b
@ -247,7 +247,7 @@ guan.plot_contour(x_array, y_array, matrix, xlabel='x', ylabel='y', title='', sh
|
|||||||
|
|
||||||
parameter_array = guan.preprocess_for_parallel_calculations(parameter_array_all, cpus=1, task_index=0)
|
parameter_array = guan.preprocess_for_parallel_calculations(parameter_array_all, cpus=1, task_index=0)
|
||||||
|
|
||||||
guan.bach_reading_and_plotting(directory, xlabel='x', ylabel='y')
|
guan.batch_reading_and_plotting(directory, xlabel='x', ylabel='y')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.0.62
|
version = 0.0.63
|
||||||
author = guanjihuan
|
author = guanjihuan
|
||||||
author_email = guanjihuan@163.com
|
author_email = guanjihuan@163.com
|
||||||
description = An open source python package
|
description = An open source python package
|
||||||
|
@ -1559,7 +1559,7 @@ def preprocess_for_parallel_calculations(parameter_array_all, cpus=1, task_index
|
|||||||
parameter_array = parameter_array_all[task_index*num_parameter:num_all]
|
parameter_array = parameter_array_all[task_index*num_parameter:num_all]
|
||||||
return parameter_array
|
return parameter_array
|
||||||
|
|
||||||
def bach_reading_and_plotting(directory, xlabel='x', ylabel='y'):
|
def batch_reading_and_plotting(directory, xlabel='x', ylabel='y'):
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
for root, dirs, files in os.walk(directory):
|
for root, dirs, files in os.walk(directory):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user