@@ -160,6 +160,10 @@ class oneD_imaging(xrs_read.read_id20):
print(" ENERGIA adesso ",tmp.sum())
print(" ENERGIA prima ",edfmats[:,roixinds,roiyinds].sum())
#
# When recentering.shape ==(2,2) it contains the previously measure (bari_Y, bari_X) of the reference scan ( with the reference ROI) in the first column
# while the second columns is the previously measured baricenter of the sample scan ( with the sample ROI).
# The goal now is to have a shift ( confirmed shift) which brings the sample baricenter ( with the reference ROI) over the scan baricenter