IQM_Vis.utils.save_utils

utils for saving experiments, images and figures

Module Attributes

DEFAULT_SAVE_DIR

getters for experiment files from save dir

Functions

get_IQM_file(dir)

get_JND_image_names(dir)

load the image names from a JND experiment

get_JND_ref_image_dir(dir)

get_JND_ref_image_unprocessed_dir(dir)

get_JND_user_ID(dir)

get_human_scores_file(dir)

get_human_times_file(dir)

get_image_name_from_human_scores(dir)

get_image_processing_file(dir)

get_original_image_file(dir)

get_original_unprocessed_image_file(dir)

get_transform_functions_file(dir)

get_transform_params_file(dir)

load_json_dict(path)

load_obj(pickle_path)

load trans dict from pkl file

make_name_for_trans(trans)

save_2AFC_experiment_results(trans_names, ...)

save all the experiment reults as csvs

save_JND_experiment_results(...[, IQM_scores_df])

save_and_merge_df_as_csv(df, file)

df need to be indexed

save_and_merge_rm_duplicates_df_as_csv(df, file)

save only new IQM rows

save_df_as_csv(df, file[, index])

save_json_dict(path, dict_)

save_obj(pickle_path, trans)

save transforms as pickle file