bug fixed: bin_number not updated for different cropedges
add qrange for selfcalibration