bnlcrl package¶
Submodules¶
bnlcrl.base_pkconfig module¶
Default config
bnlcrl.bnlcrl_console module¶
Front-end command line for bnlcrl
.
See pykern.pkcli
for how this module is used.
copyright: | Copyright (c) 2016 mrakitin. All Rights Reserved. |
---|---|
license: | http://www.apache.org/licenses/LICENSE-2.0.html |
bnlcrl.crl_simulator module¶
bnlcrl.delta_finder module¶
A library to get index of refraction (delta) or attenuation length.
Author: Maksim Rakitin (BNL) 2016
bnlcrl.plot_delta module¶
bnlcrl.utils module¶
-
bnlcrl.utils.
create_cli_function
(function_name, parameters, config)[source]¶ The function creates the content of the CLI functions with the input from JSON config.
Parameters: Returns: resulted function represented as a string.
Return type:
bnlcrl.visualize module¶
-
bnlcrl.visualize.
plot_data
(df, elements, property, thickness, e_min, e_max, n_points, file_name='data', x_label=None, figsize=(10, 6), show_plot=False)[source]¶
-
bnlcrl.visualize.
to_dataframe
(d, elements)[source]¶ Convert a list of strings, each representing the read data, to a Pandas DataFrame object.
Parameters: - d – a list of strings, each representing the read data.
- elements – Chemical elements of interest.
Returns: a tuple of DataFrame and the parsed columns.