remove trigger
This commit is contained in:
		
							
								
								
									
										4
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								main.py
									
									
									
									
									
								
							@@ -282,7 +282,7 @@ def genGraph(gData: dict, showPlot: bool = True):
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
    lims = []
 | 
					    lims = []
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for label in gData["info"]["pcb-refs"] + ["trigbox"]:
 | 
					    for label in gData["info"]["pcb-refs"]: # + ["trigbox"]:
 | 
				
			||||||
        graphData["plots"].append({
 | 
					        graphData["plots"].append({
 | 
				
			||||||
            "x": gData["time"]["x2"],
 | 
					            "x": gData["time"]["x2"],
 | 
				
			||||||
            "y": gData["data"]["x2"][label],
 | 
					            "y": gData["data"]["x2"][label],
 | 
				
			||||||
@@ -300,7 +300,7 @@ def genGraph(gData: dict, showPlot: bool = True):
 | 
				
			|||||||
            lims.append(gData["shock-point"][label][1]) # [TODO this but better]
 | 
					            lims.append(gData["shock-point"][label][1]) # [TODO this but better]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    for label, d in [("1 [V]", "G1"),("2 [V]", "G2"), ("4 [V]", "Gauge Trigger")]:
 | 
					    for label, d in [("1 [V]", "G1"),("2 [V]", "G2")]: #, ("4 [V]", "Gauge Trigger")]:
 | 
				
			||||||
        graphData["plots"].append({
 | 
					        graphData["plots"].append({
 | 
				
			||||||
            "x": gData["time"]["scope"],
 | 
					            "x": gData["time"]["scope"],
 | 
				
			||||||
            "y": gData["data"]["scope"][label],
 | 
					            "y": gData["data"]["scope"][label],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user