added amor manual
This commit is contained in:
+1284
File diff suppressed because it is too large
Load Diff
@@ -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
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user