1
0
forked from IPKM/nmreval

fix problem with namespaces

This commit is contained in:
Dominik Demuth
2024-09-29 14:33:28 +02:00
parent d07b85ae27
commit f185b24967
5 changed files with 26 additions and 128 deletions

View File

@@ -4,6 +4,8 @@ from collections import namedtuple
import numpy as np
import nmreval
from nmreval import models
from nmreval.configs import config_paths
from nmreval.lib.importer import find_models, import_
@@ -28,6 +30,7 @@ class Namespace:
'y_err': (None, 'y error values'),
'fit': (None, 'dictionary of fit parameter', 'fit["PIKA"]'),
'np': (np, 'numpy module'),
'nmreval': (nmreval, 'built-in classes and stuff')
},
parents=('Basic', 'General'),
)