added amor manual

This commit is contained in:
2024-08-09 09:29:45 +02:00
parent f7b127fcca
commit d5df124122
3 changed files with 1290 additions and 1 deletions
+1284
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -24,6 +24,9 @@ def commandLineArgs():
default = Defaults.normalisationFileIdentifier,
nargs = '+',
help = "file number(s) of normalisation measurement")
input_data.add_argument("-nm", "--normalisationMethod",
default = Defaults.normalisationMethod,
help = "normalisation method: overilumination, underillumination, direct_beam")
input_data.add_argument("-d", "--dataPath",
type = str,
default = Defaults.dataPath,
+3 -1
View File
@@ -9,6 +9,7 @@ from datetime import datetime
class Defaults:
#fileIdentifier
normalisationFileIdentifier = []
normalisationMethod = 'overilumination'
dataPath = '.'
year = datetime.now().year
#subtract
@@ -67,6 +68,7 @@ class ReductionConfig:
autoscale: Optional[Tuple[bool, bool]] = None
subtract: Optional[str] = None
normalisationFileIdentifier: Optional[list] = None
normalisationMethod: str
timeSlize: Optional[list] = None
@dataclass
@@ -178,4 +180,4 @@ class EOSConfig:
return mlst