|
1 | 1 | # Use this file if you need to import PyXRF APIs into a custom script. |
2 | 2 | # Use 'pyxrf.api' if you are interactively importing APIs into an IPython session. |
3 | 3 |
|
4 | | -from .model.fileio import stitch_fitted_results # noqa: F401 |
5 | | -from .model.fileio import spec_to_hdf # noqa: F401 |
6 | | -from .model.fileio import create_movie # noqa: F401 |
| 4 | +import logging |
| 5 | + |
| 6 | +from .core.map_processing import dask_client_create # noqa: F401 |
| 7 | +from .gui_support.gpc_class import autofind_emission_lines # noqa: F401, E402 |
| 8 | +from .model.command_tools import fit_pixel_data_and_save, pyxrf_batch # noqa: F401 |
7 | 9 | from .model.fileio import combine_data_to_recon # noqa: F401 |
8 | | -from .model.fileio import h5file_for_recon # noqa: F401 |
| 10 | +from .model.fileio import create_movie # noqa: F401 |
9 | 11 | from .model.fileio import export_to_view # noqa: F401 |
| 12 | +from .model.fileio import h5file_for_recon # noqa: F401 |
10 | 13 | from .model.fileio import make_hdf_stitched # noqa: F401 |
11 | | - |
12 | | -from .model.load_data_from_db import make_hdf, export1d # noqa: F401 |
13 | | -from .model.command_tools import fit_pixel_data_and_save, pyxrf_batch # noqa: F401 |
14 | | -from .xanes_maps.xanes_maps_api import build_xanes_map # noqa: F401 |
15 | | -from .simulation.sim_xrf_scan_data import gen_hdf5_qa_dataset, gen_hdf5_qa_dataset_preset_1 # noqa: F401 |
16 | | -from .core.map_processing import dask_client_create # noqa: F401 |
17 | | - |
18 | | -from .model.load_data_from_db import save_data_to_hdf5 # noqa: F401, E402 |
19 | 14 | from .model.fileio import read_data_from_hdf5 # noqa: F401, E402 |
20 | | - |
21 | | -from .gui_support.gpc_class import autofind_emission_lines # noqa: F401, E402 |
| 15 | +from .model.fileio import spec_to_hdf # noqa: F401 |
| 16 | +from .model.fileio import stitch_fitted_results # noqa: F401 |
| 17 | +from .model.load_data_from_db import save_data_to_hdf5 # noqa: F401, E402 |
| 18 | +from .model.load_data_from_db import export1d, make_hdf # noqa: F401 |
| 19 | +from .simulation.sim_xrf_scan_data import gen_hdf5_qa_dataset, gen_hdf5_qa_dataset_preset_1 # noqa: F401 |
| 20 | +from .xanes_maps.xanes_maps_api import build_xanes_map # noqa: F401 |
22 | 21 |
|
23 | 22 | # Note: the statement '# noqa: F401' is telling flake8 to ignore violation F401 at the given line |
24 | 23 | # Violation F401 - the package is imported but unused |
25 | 24 |
|
26 | | -import logging |
27 | 25 |
|
28 | 26 | logger = logging.getLogger("pyxrf") |
29 | 27 |
|
|
0 commit comments