0.0.173
This commit is contained in:
parent
5d999531f7
commit
9182696bd6
@ -470,6 +470,8 @@ guan.combine_four_images(image_path_array, figsize=(16,16), show=0, save=1, file
|
|||||||
# 制作GIF动画
|
# 制作GIF动画
|
||||||
guan.make_gif(image_path_array, filename='a', duration=0.1)
|
guan.make_gif(image_path_array, filename='a', duration=0.1)
|
||||||
|
|
||||||
|
# 选取颜色
|
||||||
|
color_array = guan.color_matplotlib()
|
||||||
|
|
||||||
|
|
||||||
# Module 12: data processing
|
# Module 12: data processing
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.0.172
|
version = 0.0.173
|
||||||
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
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.0.172
|
Version: 0.0.173
|
||||||
Summary: An open source python package
|
Summary: An open source python package
|
||||||
Home-page: https://py.guanjihuan.com
|
Home-page: https://py.guanjihuan.com
|
||||||
Author: guanjihuan
|
Author: guanjihuan
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing.
|
# With this package, you can calculate band structures, density of states, quantum transport and topological invariant of tight-binding models by invoking the functions you need. Other frequently used functions are also integrated in this package, such as file reading/writing, figure plotting, data processing.
|
||||||
|
|
||||||
# The current version is guan-0.0.172, updated on July 02, 2023.
|
# The current version is guan-0.0.173, updated on July 12, 2023.
|
||||||
|
|
||||||
# Installation: pip install --upgrade guan
|
# Installation: pip install --upgrade guan
|
||||||
|
|
||||||
@ -2781,8 +2781,10 @@ def make_gif(image_path_array, filename='a', duration=0.1):
|
|||||||
imageio.mimsave(filename+'.gif', images, 'GIF', duration=duration)
|
imageio.mimsave(filename+'.gif', images, 'GIF', duration=duration)
|
||||||
|
|
||||||
|
|
||||||
|
# 选取颜色
|
||||||
|
def color_matplotlib():
|
||||||
|
color_array = ['tab:blue', 'tab:orange', 'tab:green', 'tab:red', 'tab:purple', 'tab:brown', 'tab:pink', 'tab:gray', 'tab:olive', 'tab:cyan']
|
||||||
|
return color_array
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user