About RIXS Plugins¶
About PKL Converter and Visualizer¶
In [1]:
Copied!
from spectrafit.plugins.pkl_converter import PklConverter
from spectrafit.plugins.pkl_visualizer import PklVisualizer
from spectrafit.plugins.pkl_converter import PklConverter from spectrafit.plugins.pkl_visualizer import PklVisualizer
About RIXS Converter and Visualizer¶
In [2]:
Copied!
from spectrafit.plugins.rixs_converter import RIXSConverter
from spectrafit.plugins.rixs_visualizer import RIXSVisualizer
from spectrafit.plugins.rixs_converter import RIXSConverter from spectrafit.plugins.rixs_visualizer import RIXSVisualizer
Example code as a Python module:¶
from spectrafit.plugins.pkl_converter import PklConverter
from spectrafit.plugins.rixs_converter import RIXSConverter
from spectrafit.plugins.rixs_visualizer import RIXSApp
pkl_data = PklConverter.convert(
infile="test.pkl",
)
PklConverter().save(
data=pkl_data,
outfile="test_rixs.npz",
export_format="npz",
)
rixs_data = RIXSConverter.convert(
infile="test_rixs.npz",
)
RIXSApp(**rixs_data).app_run()