PyJEM.femtus¶
- PyJEM.femtus.acquisition
- PyJEM.femtus.detector
- PyJEM.femtus.image_color
- PyJEM.femtus.log
- PyJEM.femtus.output
- PyJEM.femtus.params
dict_to_dataclass()_dict_to_dataclass()_list_to_dataclass()dataclass_to_dict()ListFieldRestCommonParameterRestChemicalElementRestChemicalElementsParameterSpectrumConfigRestQuantitativeMapParameterRestSetCalibrationResultParameterRestCalculateQuantDataResultRestQuantitativeAnalysisParameterRestCalculateThicknessResultParameterRestErrorParameterdataclass_to_dict_recursive()
- PyJEM.femtus.process
- PyJEM.femtus.repository
- PyJEM.femtus.worksheet
get_worksheets()get_worksheet()create_worksheet()delete_worksheet()activate_worksheet()update_worksheet()copy_active_worksheet()paste_to_worksheet()get_worksheet_element()activate_worksheet_element()get_image_content()get_graph_content()get_data_set()get_data_set_processor()get_clump()get_clump_num_array()get_clump_num_array_accessor()put_clump_num_array_accessor()hide_worksheet_element()show_worksheet_element()
This package controls the function of the detector.
- PyJEM.femtus.set_ip(val)¶
Set the IP address used by this package.
- Parameters:
val (str) – IP address.
- Return type:
None
Examples
>>> set_ip("127.0.0.1")
- PyJEM.femtus.set_port(val)¶
Set the port number used by this package.
- Parameters:
val (int) – Port number.
- Return type:
None
Warning
Please do not use this except for JEOL service staff.
Examples
>>> set_ip("127.0.0.1")
- PyJEM.femtus.get_config()¶
Get this package connection settings.
- Returns:
Service configuration dictionary.
- Return type:
dict
- PyJEM.femtus.check_connection(timeout=3.0)¶
Check whether the target service is running.
- Parameters:
timeout (float) – timout in seconds for the connection check. Default is 3.0 seconds.
- Returns:
True if the target service is running. False if the service is not running or the IP address or port number may be incorrect.
- Return type:
bool
Examples
>>> check_connection() True