mirror of
				https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
				synced 2025-10-31 03:46:44 +01:00 
			
		
		
		
	ZH: never show matrix manipulation for baseline phase diffs
This commit is contained in:
		
							parent
							
								
									a6c62f376b
								
							
						
					
					
						commit
						00d73175f7
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -76,6 +76,8 @@ if __name__ == "__main__":
 | 
				
			||||||
        if fig_dir:
 | 
					        if fig_dir:
 | 
				
			||||||
            fig.savefig(path.join(fig_dir, __file__ + f".matrix.original.pdf"))
 | 
					            fig.savefig(path.join(fig_dir, __file__ + f".matrix.original.pdf"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        plt.close(fig)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Modify the matrix to let each column represent multiple
 | 
					    # Modify the matrix to let each column represent multiple
 | 
				
			||||||
    # measurements of the same baseline (j,0) phase difference
 | 
					    # measurements of the same baseline (j,0) phase difference
 | 
				
			||||||
| 
						 | 
					@ -97,6 +99,8 @@ if __name__ == "__main__":
 | 
				
			||||||
            if fig_dir:
 | 
					            if fig_dir:
 | 
				
			||||||
                fig.savefig(path.join(fig_dir, __file__ + f".matrix.first_row.pdf"))
 | 
					                fig.savefig(path.join(fig_dir, __file__ + f".matrix.first_row.pdf"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            plt.close(fig)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        sigma_phase_matrix = sigma_phase_matrix - first_row
 | 
					        sigma_phase_matrix = sigma_phase_matrix - first_row
 | 
				
			||||||
        sigma_phase_matrix = lib.phase_mod(sigma_phase_matrix)
 | 
					        sigma_phase_matrix = lib.phase_mod(sigma_phase_matrix)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -130,6 +134,8 @@ if __name__ == "__main__":
 | 
				
			||||||
        if fig_dir:
 | 
					        if fig_dir:
 | 
				
			||||||
            fig.savefig(path.join(fig_dir, __file__ + f".matrix.modified.pdf"))
 | 
					            fig.savefig(path.join(fig_dir, __file__ + f".matrix.modified.pdf"))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        plt.close(fig)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # write into antenna hdf5
 | 
					    # write into antenna hdf5
 | 
				
			||||||
    with h5py.File(antennas_fname, 'a') as fp:
 | 
					    with h5py.File(antennas_fname, 'a') as fp:
 | 
				
			||||||
        group = fp['antennas']
 | 
					        group = fp['antennas']
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue