debug shit
This commit is contained in:
		@@ -25,6 +25,9 @@ canny-args:
 | 
				
			|||||||
pcb-refs:
 | 
					pcb-refs:
 | 
				
			||||||
  - "st1"
 | 
					  - "st1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					no-graph:
 | 
				
			||||||
 | 
					  - "None"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
probe-info:
 | 
					probe-info:
 | 
				
			||||||
  type: "Thin"
 | 
					  type: "Thin"
 | 
				
			||||||
  locations: # In order of pulse
 | 
					  locations: # In order of pulse
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -18,7 +18,7 @@ canny-args:
 | 
				
			|||||||
    post_pres: 0.03
 | 
					    post_pres: 0.03
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  - sigma: 1
 | 
					  - sigma: 1
 | 
				
			||||||
    post_pres: 0.2
 | 
					    post_pres: 0.05
 | 
				
			||||||
 | 
					
 | 
				
			||||||
no-graph:
 | 
					no-graph:
 | 
				
			||||||
  - "at1"
 | 
					  - "at1"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
# Data Info File
 | 
					# Data Info File
 | 
				
			||||||
# Cal Wing - Oct 24
 | 
					# Cal Wing - Oct 24
 | 
				
			||||||
 | 
					
 | 
				
			||||||
long_name: "Shot 7 (x2s5829) - Thin Probe Set (ST1, ST2 & ST3) - 2024-10-18 - Flush ST3 -  - Low Pressure, 'Pure' Air"
 | 
					long_name: "Shot 7 (x2s5829) - Thin Probe Set (ST1, ST2 & ST3) - 2024-10-18\nFlush ST3 - Low Pressure, 'Pure' Air"
 | 
				
			||||||
name: "Shot 6"
 | 
					name: "Shot 6"
 | 
				
			||||||
date: "2024-10-18"
 | 
					date: "2024-10-18"
 | 
				
			||||||
time: "15:58"
 | 
					time: "15:58"
 | 
				
			||||||
@@ -20,14 +20,18 @@ canny-args:
 | 
				
			|||||||
  - sigma: 1
 | 
					  - sigma: 1
 | 
				
			||||||
    post_pres: 0.2
 | 
					    post_pres: 0.2
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
no-graph:
 | 
					  - sigma: 1
 | 
				
			||||||
  - "at1"
 | 
					    post_pres: 0.05
 | 
				
			||||||
  - "at2"
 | 
					 | 
				
			||||||
  - "at3"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - "at4"
 | 
					no-graph:
 | 
				
			||||||
  - "at5"
 | 
					  - "None"
 | 
				
			||||||
  - "at6"
 | 
					  # - "at1"
 | 
				
			||||||
 | 
					  # - "at2"
 | 
				
			||||||
 | 
					  # - "at3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # - "at4"
 | 
				
			||||||
 | 
					  # - "at5"
 | 
				
			||||||
 | 
					  # - "at6"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pcb-refs:
 | 
					pcb-refs:
 | 
				
			||||||
  - "at1"
 | 
					  - "at1"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										12
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								main.py
									
									
									
									
									
								
							@@ -33,8 +33,10 @@ data_to_load = [
 | 
				
			|||||||
    #"x2s5823",
 | 
					    #"x2s5823",
 | 
				
			||||||
    #"x2s5824",
 | 
					    #"x2s5824",
 | 
				
			||||||
    #"x2s5827",
 | 
					    #"x2s5827",
 | 
				
			||||||
    #"x2s5829",
 | 
					    "x2s5829",
 | 
				
			||||||
    "x2s5830",
 | 
					    #"x2s5830",
 | 
				
			||||||
 | 
					    "x2s5831",
 | 
				
			||||||
 | 
					    "x2s5832"
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ==== Data Loading & Processing ====
 | 
					# ==== Data Loading & Processing ====
 | 
				
			||||||
@@ -379,9 +381,9 @@ def genGraph(gData: dict, showPlot: bool = True):
 | 
				
			|||||||
        "x": 0.94, "y": 0.94
 | 
					        "x": 0.94, "y": 0.94
 | 
				
			||||||
    })
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if len(lims) > 1:
 | 
					    #if len(lims) > 1:
 | 
				
			||||||
        OFFSET = 10
 | 
					    #    OFFSET = 10
 | 
				
			||||||
        graphData["xLim"] = (float(min(lims) - OFFSET), float(max(lims) + OFFSET))
 | 
					    #    graphData["xLim"] = (float(min(lims) - OFFSET), float(max(lims) + OFFSET))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    makeGraph(graphData, doProgramBlock=False, showPlot=showPlot, figSavePath="./images/{0}.png")
 | 
					    makeGraph(graphData, doProgramBlock=False, showPlot=showPlot, figSavePath="./images/{0}.png")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user