ePSIC-DLS / epsic_tools

Code for conversion and analysis of Merlin-Medipix data
GNU General Public License v3.0
6 stars 7 forks source link

Adding tools to epsic_tools #31

Closed M0hsend closed 4 years ago

M0hsend commented 4 years ago

Adding the following functions to epsic_tools/ptycho_utils: get_fft save_dict_to_hdf5: to recursively save a nested dict to hdf5 load_dict_to_hdf5: to recursively load an hdf5 file to a nested dict get_RMSE kdtree_NN: implements sklearn KDTree proximity search algorithm on data duplicate_json: gets a source json file and duplicates it, and if declared, changes one given parameter to a new value

TODO: write unit tests