Usage of AES(PHI) depth tools for Jupyter NotebookΒΆ
[1]:
import subprocess
import plotly
subprocess.run(["MPExport.exe", "-ExportProfile", "-Filename:..\source\PHI_AES\AESProfile.pro"])
[1]:
CompletedProcess(args=['MPExport.exe', '-ExportProfile', '-Filename:..\\source\\PHI_AES\\AESProfile.pro'], returncode=0)
[2]:
%run -i phiaes_txt2csv_depth.py "AESProfile.txt"
DEPTHPRO
[6]:
%run -i phiaes_csv2graph_depth.py "AESProfile.csv" --jupytermode
phiaes_csv2graph_depth.py:248: FutureWarning:
Method .as_matrix will be removed in a future version. Use .values instead.
phiaes_csv2graph_depth.py:255: FutureWarning:
Method .as_matrix will be removed in a future version. Use .values instead.
phiaes_csv2graph_depth.py:327: FutureWarning:
Method .as_matrix will be removed in a future version. Use .values instead.
phiaes_csv2graph_depth.py:332: FutureWarning:
Method .as_matrix will be removed in a future version. Use .values instead.
[4]:
%run -i phiaes_txt2rawXML.py "AESProfile.txt" phiaes_raw_templateXML.xml depth_raw.xml --stdout
<?xml version="1.0" ?>
<metadata>
<meta key="Platform" type="String">PC</meta>
<meta key="Technique" type="String">AES</meta>
<meta key="FileType" type="String">DEPTHPRO</meta>
<meta key="FileDate" type="String">2009 6 9</meta>
<meta key="AcqFileDate" type="String">2009 6 9</meta>
<meta key="AcqFilename" type="String">C:\Datafiles\ULVAC-PHI\090609\27.pro</meta>
<meta key="SampleRotation" type="String">off</meta>
<meta key="FileDesc" type="String">No Comment</meta>
<meta key="SemFieldOfView" type="String">50.0000007</meta>
<meta key="EBeamEnergy" type="String">10.0 kV</meta>
<meta key="EBeamCurrent" type="String">0.0</meta>
<meta key="SputterRaster" type="String">2.00 2.00 mm</meta>
<meta key="AnalyserMode" type="String">FRR</meta>
<meta key="NoDPDataCyc" type="String">14</meta>
<meta key="NoPreSputterCyc" type="String">2</meta>
<meta key="SputterInterval" type="String">0.500 s</meta>
<meta key="SputterMode" type="String">alt</meta>
<meta key="NoSpectralReg" type="String">3</meta>
<meta column="1" key="SpectralRegDef" type="String">1 1 C1 6 61 1.0000 231.0 291.0 249.0 283.0 0.100000 0.00 none</meta>
<meta column="1" key="SpectralRegDef2" type="String">1 60.0 5 8 0</meta>
<meta column="2" key="SpectralRegDef" type="String">2 2 O1 8 61 1.0000 472.0 532.0 490.0 524.0 0.100000 0.00 none</meta>
<meta column="2" key="SpectralRegDef2" type="String">2 60.0 5 8 0</meta>
<meta column="3" key="SpectralRegDef" type="String">3 3 Si1 14 61 1.0000 58.0 118.0 76.0 110.0 0.100000 0.00 none</meta>
<meta column="3" key="SpectralRegDef2" type="String">3 60.0 5 8 0</meta>
<meta key="ImageSizeXY" type="String">NO_INFO</meta>
<column_num>3</column_num>
<column_name>condition</column_name>
</metadata>
[5]:
%run -i phiaes_raw2primaryXML.py depth_raw.xml phiaes_primary_templateXML.xml primary.xml --stdout
<?xml version="1.0" ?>
<metadata>
<meta key="Technique" type="String">AES</meta>
<meta key="Experiment_mode" type="String">DEPTHPRO</meta>
<meta key="File_name" type="String">C:\Datafiles\ULVAC-PHI\090609\27.pro</meta>
<meta key="Year" type="Numeric">2009</meta>
<meta key="Month" type="Numeric">06</meta>
<meta key="Day" type="Numeric">09</meta>
<meta key="EBeamEnergy" type="Quantity" unit="kV">10.0</meta>
<meta key="EBeamCurrent" type="Quantity" unit="nA">0.0</meta>
<meta key="SemFieldOfView" type="Quantity" unit="um">50.0000007</meta>
<meta key="Analyser_mode" type="String">FRR</meta>
<meta key="Specimen_Stage_Rotation_Setting_During_Sputtering" type="String">off</meta>
<meta key="Sputtering_Raster_Area" type="Quantity" unit="mm">2.00x2.00</meta>
<meta key="NoPreSputterCyc" type="Numeric">2</meta>
<meta key="SputterInterval" type="Quantity" unit="s">0.500</meta>
<meta key="SputterMode" type="String">alt</meta>
<meta key="NoDPDataCyc" type="Numeric">14</meta>
<meta key="NoSpectralReg" type="Numeric">3</meta>
<meta column="1" key="Element_and_transition" type="String">C1</meta>
<meta column="2" key="Element_and_transition" type="String">O1</meta>
<meta column="3" key="Element_and_transition" type="String">Si1</meta>
<meta column="1" key="Abscissa_increment" type="Quantity" unit="eV">1.0000</meta>
<meta column="2" key="Abscissa_increment" type="Quantity" unit="eV">1.0000</meta>
<meta column="3" key="Abscissa_increment" type="Quantity" unit="eV">1.0000</meta>
<meta column="1" key="Abscissa_start" type="Quantity" unit="eV">231.0</meta>
<meta column="2" key="Abscissa_start" type="Quantity" unit="eV">472.0</meta>
<meta column="3" key="Abscissa_start" type="Quantity" unit="eV">58.0</meta>
<meta column="1" key="Abscissa_end" type="Quantity" unit="eV">291.0</meta>
<meta column="2" key="Abscissa_end" type="Quantity" unit="eV">532.0</meta>
<meta column="3" key="Abscissa_end" type="Quantity" unit="eV">118.0</meta>
<meta column="1" key="Collection_time" type="Quantity" unit="s">0.100000</meta>
<meta column="2" key="Collection_time" type="Quantity" unit="s">0.100000</meta>
<meta column="3" key="Collection_time" type="Quantity" unit="s">0.100000</meta>
<meta column="1" key="Mode_of_signal_detection" type="String">none</meta>
<meta column="2" key="Mode_of_signal_detection" type="String">none</meta>
<meta column="3" key="Mode_of_signal_detection" type="String">none</meta>
<meta column="1" key="Peak_Sweep_Number" type="String">5</meta>
<meta column="2" key="Peak_Sweep_Number" type="String">5</meta>
<meta column="3" key="Peak_Sweep_Number" type="String">5</meta>
<meta key="Comment" type="String">No Comment</meta>
<column_num>3</column_num>
<column_name>condition</column_name>
</metadata>