<jupyter_start><jupyter_text>Usage of XRD tools for Jupyter Notebook<jupyter_code>%run -i ras2csv.py --encoding sjis ../source/XRD_RIGAKU.ras
%run -i csv2graph.py XRD_RIGAKU.csv --jupytermode
%run -i ras2raw_XRD.py ../source/XRD_RIGAKU.ras --encoding sjis xrd_raw_template.xml raw.xml --stdout
%run -i raw2primary_XRD.py raw.xml xrd_primary_template.xml primary.xml --stdout<jupyter_output><?xml version="1.0" ?>
<metadata>
	<meta key="Operator_identifier" type="String">English</meta>
	<meta key="Year" type="Numeric">2017</meta>
	<meta key="Month" type="Numeric">11</meta>
	<meta key="Day" type="Numeric">21</meta>
	<meta key="Comment" type="String"></meta>
	<meta key="Memo" type="String"></meta>
	<meta key="Operator" type="String">English</meta>
	<meta key="Specimen" type="String"></meta>
	<meta key="Detector_Pixel_Size" type="Quantity" unit="mm">0.075</meta>
	<meta key="Selected_Detector_Name" type="String">DteX250(H)</meta>
	<meta key="X-ray_Target_Material" type="String">Cu</meta>
	<meta key="K_alpha_1_Wavelength" type="Quantity" unit="Angstrom">1.540593</meta>
	<meta key="K_alpha_2_Wavelength" type="Quantity" unit="Angstrom">1.544414</meta>
	<meta key="K_beta_Wavelength" type="Quantity" unit="Angstrom">1.392246</meta>
	<meta key="Optics_Attribute" type="String">DB</meta>
	<meta key="X-ray_Tube_Current" type="Quantity" unit="mA">30</meta>
	<meta key="X-ray_Tube_Voltage"[...]<jupyter_text>バッチ処理上記のコマンドを一括して実行します。グラフと主要パラメータを表示します。<jupyter_code>%run -i batch_exe_XRD.py ../source/XRD_RIGAKU.ras --jupytermode<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.18304431599229287, 'fraction_numerical': 0.029543994861913937, 'mean_word_length': 7.56043956043956, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 1, '>': 42, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '513919', 'license': 'MIT', 'n_tokens_mistral': 669, 'n_tokens_neox': 633, 'n_words': 94, 'path': 'docs/rigaku_xrd.ipynb', 'repo_name': 'nims-dpfc/M-DaC_XRD', 'size': '1557'}