mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 09:35:45 +01:00 
			
		
		
		
	Small change on idl
This commit is contained in:
		
					parent
					
						
							
								ef1fecad10
							
						
					
				
			
			
				commit
				
					
						c3b38c8b6f
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -186,7 +186,7 @@ def read_rwms(path, prefix, version='2.0', names=None, **kwargs):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    print(',', nrw, 'reweighting factors with', nsrc, 'sources')
 | 
					    print(',', nrw, 'reweighting factors with', nsrc, 'sources')
 | 
				
			||||||
    result = []
 | 
					    result = []
 | 
				
			||||||
    idl = [range(r_start[rep] + 1, r_stop[rep] + r_step, r_step) for rep in range(replica)]
 | 
					    idl = [range(r_start[rep] + 1, r_stop[rep] + 1, r_step) for rep in range(replica)]
 | 
				
			||||||
    for t in range(nrw):
 | 
					    for t in range(nrw):
 | 
				
			||||||
        result.append(Obs(deltas[t], rep_names, idl=idl))
 | 
					        result.append(Obs(deltas[t], rep_names, idl=idl))
 | 
				
			||||||
    return result
 | 
					    return result
 | 
				
			||||||
| 
						 | 
					@ -341,7 +341,7 @@ def extract_t0(path, prefix, dtr_read, xmin,
 | 
				
			||||||
                             current + tmax - xmin])
 | 
					                             current + tmax - xmin])
 | 
				
			||||||
                            for current in range(0, len(item), tmax)])
 | 
					                            for current in range(0, len(item), tmax)])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    idl = [range(r_start[rep] + 1, r_stop[rep] + r_step, r_step) for rep in range(len(r_start))]
 | 
					    idl = [range(r_start[rep] + 1, r_stop[rep] + 1, r_step) for rep in range(len(r_start))]
 | 
				
			||||||
    t2E_dict = {}
 | 
					    t2E_dict = {}
 | 
				
			||||||
    for n in range(nn + 1):
 | 
					    for n in range(nn + 1):
 | 
				
			||||||
        samples = []
 | 
					        samples = []
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue