No project description provided
Project description
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")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file fischer-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: fischer-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3589c0d4b0e082dce7b68dff43a41f9ceae48bfdbd1a3ba43af759fbfb9d6383 |
|
MD5 | d03638b52013dcbf690cd4d4e0ae8fb1 |
|
BLAKE2b-256 | 6632b2246509ea41029e1236a96e160b24a5349d71321abfaa5ee011a5a82bac |