mirror of
				https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
				synced 2025-10-30 19:36:34 +01:00 
			
		
		
		
	ZH: small tweak to figure for baseline phases
This commit is contained in:
		
							parent
							
								
									755426e156
								
							
						
					
					
						commit
						ae2cde1ab3
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -81,7 +81,7 @@ if __name__ == "__main__": | |||
|     ############################## | ||||
|     # Compare actual time shifts # | ||||
|     ############################## | ||||
|     actual_antenna_true_phases = { a.name: -2*np.pi*a.attrs['clock_offset']*f_beacon for a in antennas } | ||||
|     actual_antenna_true_phases = { a.name: -2*np.pi*a.attrs['clock_offset']*f_beacon for a in sorted(antennas, key=lambda a: int(a.name)) } | ||||
| 
 | ||||
|     # Compare actual time shifts | ||||
|     my_phase_diffs = [] | ||||
|  | @ -112,10 +112,10 @@ if __name__ == "__main__": | |||
|                 phase_residuals = lib.phase_mod(phase_diffs[:,1] - my_phase_diffs) | ||||
| 
 | ||||
|                 fig.suptitle("Difference between Measured and Actual phase difference\n for Baselines (i,j" + (')' if ref_ant_id is None else '='+str([ int(a.name) for a in ref_ants])+')')) | ||||
|                 axs[-1].set_xlabel("Baseline Phase Residual $\\varphi_{ij_{meas}} - \\varphi_{ij_{true}}$ [rad]") | ||||
|                 axs[-1].set_xlabel("Baseline Phase Residual $\\Delta\\varphi_{ij_{meas}} - \\Delta\\varphi_{ij_{true}}$ [rad]") | ||||
|             else: | ||||
|                 fig.suptitle("Comparison Measured and Actual phase difference\n for Baselines (i,j"  + (')' if ref_ant_id is None else '='+str([ int(a.name) for a in ref_ants])+')')) | ||||
|                 axs[-1].set_xlabel("Baseline Phase $\\varphi_{ij}$ [rad]") | ||||
|                 axs[-1].set_xlabel("Baseline Phase $\\Delta\\varphi_{ij}$ [rad]") | ||||
| 
 | ||||
| 
 | ||||
|             i=0 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue