-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
meta.yaml
86 lines (77 loc) · 2.81 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{% set name = "tofu" %}
{% set version = "1.8.4" %}
{% set python_min = "3.8" %}
{% set python_max = "3.11" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: f949640116f87aecd4d7aeee048b67ae4bc48d61421fd582ed83e5e2f2cd129f
build:
number: 0
script: {{ PYTHON }} -m pip install . -vv
entry_points:
- tofu-version = scripts.tofuversion:main
- tofu-custom=scripts.tofucustom:main
- tofu = scripts.tofu_bash:main
requirements:
build:
- {{ stdlib("c") }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python >={{ python_min }},<={{ python_max }}
- pip
- cython => 0.26
- numpy
- setuptools >=40.8.0,<64
- llvm-openmp # [unix and not osx]
run:
- python >={{ python_min }},<={{ python_max }}
- numpy
- scipy
- matplotlib-base
- llvm-openmp # [unix and not osx]
- _openmp_mutex # [unix and not osx]
- requests
- svg.path
- Polygon3
- spectrally >=0.0.7
test:
imports:
- tofu
- tofu.geom
commands:
# - pytest tofu/tests
- echo ""
requires:
- pytest
- python >={{ python_min }},<={{ python_max }}
source_files:
- tofu/tests
about:
home: https://github.com/ToFuProject/tofu
license: MIT
license_file: LICENSE.txt
summary: Project for an open-source python library for synthetic diagnostics and tomography for Fusion devices.
description: |
tofu stands for Tomography for Fusion, it is an IMAS-compatible open-source
machine-independent python library with non-open source plugins containing all machine-dependent routines.
It aims at providing the fusion and plasma community with an object-oriented, transparent and documented tool
for designing tomography diagnostics, computing synthetic signal (direct problem) as well as tomographic
inversions (inverse problem). It gives access to a full 3D description of the diagnostic geometry, thus reducing
the impact of geometrical approximations on the direct and, most importantly, on the inverse problem.
tofu is relevant for all diagnostics integrating, in a finitie field of view or along a set of lines of sight,
a quantity (scalar or vector) for which the plasma can be considered transparent (e.g.: light in the visible, UV,
soft and hard X-ray ranges, or electron density for interferometers).
tofu is command-line oriented, for maximum flexibility and scriptability. The absence of a GUI is compensated by
built-in one-liners for interactive plots.
A sphinx-generated documentation and the code itself is hosted on GitHub.
doc_url: https://tofuproject.github.io/tofu/
dev_url: https://github.com/ToFuProject/tofu
extra:
recipe-maintainers:
- flothesof
- Didou09
- lasofivec