omfit\u配置文件
omfit-profiles的Python项目详细描述
PROFILES用作OMFIT项目一部分的文件:https://omfit.io/
提供:
- OMFIT配置文件
- omfitprofiles动态
要求:
- fortranformat>;=0.2
- matplotlib>;=3.1,!=3.2.1,!=3.2.2
- 数量=1.12
- omas>;=0.67.0
- 0.0英寸=1英寸
- 不确定度>;=3
- xarray>;=0.10.8
- omfit_数据==2020.12.2.22.59
- omfit_omas_utils=2020.12.2.22.59
- omfit_mds==2020.12.2.22.59
- omfit_eqdsk==2020.12.2.22.59
- omfit_ascii==2020.12.2.22.59
- omfit_路径==2020.12.2.22.59
- omfit_nc==2020.12.2.22.59
- omfit_namelist==2020.12.2.22.59
- omfit_错误==2020.12.2.22.59
- omfit_commonclasses==2020.12.2.22.59
作者:
https://omfit.io/contributors.html
文件:
OMFIT配置文件
药方
OMFIT配置文件动态
Class for dynamic calculation of derived quantities
:Examples:
Initialize the class with a filename and FIT Dataset.
>>> tmp=OMFITprofiles('test.nc', fits=root['OUTPUTS']['FIT'], equilibrium=root['OUTPUTS']['SLICE']['EQ'], root['SETTINGS']['EXPERIMENT']['gas'])
Accessing a quantity will dynamically calculate it.
>>> print tmp['Zeff']
Quantities are then stored (they are not calculated twice).
>>> tmp=OMFITprofiles('test.nc',
fits=root['OUTPUTS']['FIT'],
equilibrium=root['OUTPUTS']['SLICE']['EQ'],
main_ion='2H1')
>>> uband(tmp['rho'],tmp['n_2H1'])
- 项目
标签: