Skip to main content

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

fischer-0.1.3-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page