Skip to content

Commit

Permalink
Edits on configuration in response to how cameca example worked in nomad
Browse files Browse the repository at this point in the history
  • Loading branch information
atomprobe-tc committed Jan 28, 2025
1 parent 069d267 commit f088889
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions src/pynxtools_apm/configurations/cameca_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,32 @@
APM_CAMECA_TO_NEXUS: Dict[str, Any] = {
"prefix_trg": "/ENTRY[entry*]",
"prefix_src": "",
"map": [
"map_to_str": [
("atom_probe/reconstruction/quality", "fQuality"),
("atom_probe/reconstruction/primary_element", "fPrimaryElement"),
("measurement/instrument/local_electrode/name", "fApertureName"),
("measurement/instrument/instrument_name", "fAtomProbeName"),
("measurement/instrument/fabrication/model", "fLeapModel"),
("measurement/instrument/fabrication/serial_number", "fSerialNumber"),
(
"measurement/instrument/pulser/SOURCE[source*]/fabrication/model",
"fLaserModel",
"fLaserModelString",
),
(
"measurement/instrument/pulser/SOURCE[source*]/fabrication/serial_number",
"fLaserSerialNumber",
),
(
"measurement/instrument/pulser/fabrication/model",
"fPulserType",
),
("measurement/instrument/comments", "fInstrumentComment"),
("measurement/instrument/comment", "fInstrumentComment"),
("atom_probe/raw_data/serialized/path", "fRawPathName"),
("measurement/status", "fResults"),
("specimen/description", "fSpecimenCondition"),
("specimen/alias", "fSpecimenName"),
("start_time", "fStartISO8601"),
("run_number", "fRunNumber"),
],
"map_to_f8": [
("atom_probe/reconstruction/efficiency", "fEfficiency"),
Expand All @@ -59,6 +69,9 @@
("atom_probe/reconstruction/obb/ymin", ureg.nanometer, "fYmin"),
("atom_probe/reconstruction/obb/zmax", ureg.nanometer, "fZmax"),
("atom_probe/reconstruction/obb/zmin", ureg.nanometer, "fZmin"),
("atom_probe/reconstruction/tip_radius", ureg.nanometer, "fTipRadius"),
("atom_probe/reconstruction/tip_radius_zero", ureg.nanometer, "fTipRadius0"),
("atom_probe/reconstruction/voltage_zero", ureg.volt, "fVoltage0"),
(
"measurement/instrument/analysis_chamber/pressure",
ureg.torr,
Expand Down Expand Up @@ -89,25 +102,16 @@
"fT0Estimate",
),
],
"map_to_u4": [
("measurement/instrument/fabrication/serial_number", "fSerialNumber"),
("run_number", "fRunNumber"),
],
}

# third
# ("", ureg.nanometer, "fTipRadius")
# ("", ureg.nanometer, "fTipRadius0")
# ("", ureg.volt, "fVoltage0")
# ("", "fBcaSerialRev")
# ("", "fFirmwareVersion")
# ("", "fFlangeSerialNumber")
# ("", "fHvpsType")
# ("", "fLaserModelString")
# ("", "fLaserSerialNumber")
# ("", "fLaserModel")
# ("", "fLcbSerialRev")
# ("", "fMcpSerialNumber")
# ("", "fPulserType")
# ("", "fTaSerialRev")
# ("", "fTdcType")
# ("", "fTargetEvapRate")
Expand Down

0 comments on commit f088889

Please sign in to comment.