MDLS-model-building
本科毕业设计-多角度动态光散射建模与仿真简介
本仓库具有以下特点:
- 仓库中的源码已整合发布在pypi中;
pip install fischer
- 可以个性化调节参数;
- 可实现任意单峰、双峰分布的电场自相关曲线、等效平均粒径、体积频度分布散点图;
- 支持加入噪声和产生数据集;
- 整合了koppel论文中所提的累积量法;
环境配置
我们推荐你使用anaconda来配置环境。
以下指令需在Python版本大于3.6的环境当中执行:
# 安装numpy及其核心依赖,若已安装则跳过
pip install numpy matplotlib tqdm PyMieScat
你也可以通过pip来安装依赖:
注意: 也可使用requirements.txt来安装依赖
pip install -r requirements.txt
使用方法:
from fischer.fischer_mdls.mdls import generator
import numpy as np
data = generator(n_surrounding=1.33, sphere_index=1.59, lambda0=532, viscosity=0.89,
T=293, single=False, theta_list=[np.pi / 2, np.pi / 3])
data_x, data_y = data.generate(Dg_list=[[200, 300], [400, 500], [600,600]], sigma_list=[[0.1, 0.15], [0.2,0.2]],
ratio_list=[0.9,0.8], start=300, end=900,count=51, time_series=None, method="cumulate")
Metadata
Release files for fischer 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fischer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / fischer-0.1.3-py3-none-any.whl
| Download URL | fischer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3589c0d4b0e082dce7b68dff43a41f9ceae48bfdbd1a3ba43af759fbfb9d6383
|
|
BLAKE2b-256 checksum How to use checksums |
6632b2246509ea41029e1236a96e160b24a5349d71321abfaa5ee011a5a82bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|