0.1.48 增加装饰器

This commit is contained in:
2023-11-27 16:42:45 +08:00
parent 206fcda152
commit 7a9b86f791
13 changed files with 271 additions and 379 deletions

View File

@@ -1,5 +1,13 @@
# Guan is an open-source python package developed and maintained by https://www.guanjihuan.com/about (Ji-Huan Guan, 关济寰). The primary location of this package is on website https://py.guanjihuan.com. The GitHub location of this package is on https://github.com/guanjihuan/py.guanjihuan.com.
# 函数的装饰器,用于软件包的统计
def function_decorator(func):
def wrapper():
func()
import guan
guan.statistics_of_guan_package(func.__name__)
return wrapper
from .basic_functions import *
from .Fourier_transform import *
from .Hamiltonian_of_examples import *