PyJEM.femtus.params¶
- PyJEM.femtus.params.dict_to_dataclass(name, data)¶
dict・list を再帰的に dataclass 化する
- Parameters:
name (str)
data (Any)
- PyJEM.femtus.params._dict_to_dataclass(name, data)¶
- Parameters:
name (str)
data (dict)
- PyJEM.femtus.params._list_to_dataclass(name, lst)¶
リストを処理し、([変換済リスト], リスト要素の型) を返す
- Parameters:
name (str)
lst (list)
- PyJEM.femtus.params.dataclass_to_dict(obj)¶
dataclass オブジェクトを dict / list / primitive に再帰的に戻す
- Parameters:
obj (Any)
- class PyJEM.femtus.params.ListField(*args)¶
Bases:
list,Generic[T]- Parameters:
args (T)
- class PyJEM.femtus.params.RestCommonParameter(Ids: List[uuid.UUID])¶
Bases:
object- Parameters:
Ids (List[UUID])
- Ids: List[UUID]¶
- class PyJEM.femtus.params.RestChemicalElement(AtomicNumber: int, ElectronShell: str)¶
Bases:
object- Parameters:
AtomicNumber (int)
ElectronShell (str)
- AtomicNumber: int¶
- ElectronShell: str¶
- class PyJEM.femtus.params.RestChemicalElementsParameter(ChemicalElements: List[PyJEM.femtus.params.RestChemicalElement])¶
Bases:
object- Parameters:
ChemicalElements (List[RestChemicalElement])
- ChemicalElements: List[RestChemicalElement]¶
- class PyJEM.femtus.params.Spectrum(Mode: str, Spectrum: str)¶
Bases:
object- Parameters:
Mode (str)
Spectrum (str)
- Mode: str¶
- Spectrum: str¶
- class PyJEM.femtus.params.Config(CoreLossCrossSection: int, AccelarationVoltage: float, CorrectionAngle: float, IsUseZlp: bool, Spectrum: NoneType = None)¶
Bases:
object- Parameters:
CoreLossCrossSection (int)
AccelarationVoltage (float)
CorrectionAngle (float)
IsUseZlp (bool)
Spectrum (None)
- CoreLossCrossSection: int¶
- AccelarationVoltage: float¶
- CorrectionAngle: float¶
- IsUseZlp: bool¶
- Spectrum: None = None¶
- class PyJEM.femtus.params.RestQuantitativeMapParameter(Config: NoneType = None)¶
Bases:
object- Parameters:
Config (None)
- Config: None = None¶
- class PyJEM.femtus.params.RestSetCalibrationResultParameter(Dispersion: float, FirstEnergyLoss: float, SecondEnergyLoss: float | None = None)¶
Bases:
object- Parameters:
Dispersion (float)
FirstEnergyLoss (float)
SecondEnergyLoss (float | None)
- Dispersion: float¶
- FirstEnergyLoss: float¶
- SecondEnergyLoss: float | None = None¶
- class PyJEM.femtus.params.RestCalculateQuantDataResult(TotalZeroLossPeakIntensity: float, TotalSignalIntensity: float, Sigma: float, ElementShellName: str)¶
Bases:
object- Parameters:
TotalZeroLossPeakIntensity (float)
TotalSignalIntensity (float)
Sigma (float)
ElementShellName (str)
- TotalZeroLossPeakIntensity: float¶
- TotalSignalIntensity: float¶
- Sigma: float¶
- ElementShellName: str¶
- class PyJEM.femtus.params.RestQuantitativeAnalysisParameter(Results: PyJEM.femtus.params.ListField[PyJEM.femtus.params.RestCalculateQuantDataResult])¶
Bases:
object- Parameters:
Results (ListField[RestCalculateQuantDataResult])
- Results: ListField[RestCalculateQuantDataResult]¶
- class PyJEM.femtus.params.RestCalculateThicknessResultParameter(RelativeThickness: float, ZeroLossPeakIndex: int, ZeroLossPeakIntensity: float)¶
Bases:
object- Parameters:
RelativeThickness (float)
ZeroLossPeakIndex (int)
ZeroLossPeakIntensity (float)
- RelativeThickness: float¶
- ZeroLossPeakIndex: int¶
- ZeroLossPeakIntensity: float¶
- class PyJEM.femtus.params.RestErrorParameter(Reason: str)¶
Bases:
object- Parameters:
Reason (str)
- Reason: str¶
- PyJEM.femtus.params.dataclass_to_dict_recursive(obj)¶