Removed distance_to_sample=quant_distance_to_sample from the definition "fit_pixel_data_and_save" call to "output_data" when save_txt == True. This fixes the bug that gives the error "TypeError: output_data() got an unexpected keyword argument 'distance_to_sample'"
Removed distance_to_sample=quant_distance_to_sample from the definition "fit_pixel_data_and_save" call to "output_data" when save_txt == True. This fixes the bug that gives the error "TypeError: output_data() got an unexpected keyword argument 'distance_to_sample'"