| 
					
				 | 
			
			
				@@ -64,6 +64,8 @@ def getTargetSeqNum(row,xconfig): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    if getVisitId(row,xconfig)=='MIR1': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return 3 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   if getVisitId(row,xconfig)=='MIR2': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    return 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def getPathList(row,xconfig): 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -122,12 +124,14 @@ def getFitParFinalName(code,nc,j,aType): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    return '{}_fitParFinal.txt'.format(fCode) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def getFitPNGNames(code,nc,j,aType): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   if aType=='global': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      return [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    fCode='{}_{}_{}'.format(code,nc,j+1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   if aType!='global': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      fCode='{}_{}'.format(fCode,aType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   #if aType!='global': 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+   fCode='{}_{}'.format(fCode,aType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    names=[] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    for i in range(nc): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      names.append('{}_centers{}.txt'.format(fCode,i+1)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      names.append('{}_centers{}.png'.format(fCode,i+1)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    return names 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,7 +146,7 @@ def printFitParFinalRowNames(r,setup,aType): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          names.append(getFitParFinalName(code,nc,j,aType)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #add pngs of the fit (good QA) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #this are only partial fits, from which global parameters are taken 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         #names+=getFitPNGNames(code,nc,j,aType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         names+=getFitPNGNames(code,nc,j,aType) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    return names 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 def getPixelFitParFinalName(code,nc,s2,mode): 
			 |