mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m.internship-documentation.git
synced 2024-11-12 18:43:30 +01:00
figure: fix beacon_field for ref_ant
This commit is contained in:
parent
fdae3fd665
commit
a0ecca113b
1 changed files with 5 additions and 2 deletions
|
@ -184,7 +184,7 @@ if __name__ == "__main__":
|
|||
command_group.add_argument('--time', help='Use the time difference for the field', action='store_false')
|
||||
command_group.add_argument('--phase', help='Use wrapped phase for the field', action='store_true')
|
||||
|
||||
parser.add_argument('--ref', dest='ref_ant', metavar='ref_antenna', help='Number of antenna to use as reference')
|
||||
parser.add_argument('--ref', dest='ref_ant', metavar='ref_antenna', type=int, help='Number of antenna to use as reference')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
@ -248,7 +248,10 @@ if __name__ == "__main__":
|
|||
### Options
|
||||
###
|
||||
plot_phase = args.plot_phase
|
||||
ref_ant = args.ref_ant
|
||||
if args.ref_ant:
|
||||
ref_ant = ants[args.ref_ant]
|
||||
else:
|
||||
ref_ant = None
|
||||
|
||||
|
||||
ant_combi = antenna_combinations(ants, ref_ant=ref_ant)
|
||||
|
|
Loading…
Reference in a new issue