Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
4f439b07
Commit
4f439b07
authored
6 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Support different GLOBAL_SP per polarization.
parent
dff95af2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/apertif/commissioning/tests/start_wg_at_bsn.sh
+16
-6
16 additions, 6 deletions
applications/apertif/commissioning/tests/start_wg_at_bsn.sh
with
16 additions
and
6 deletions
applications/apertif/commissioning/tests/start_wg_at_bsn.sh
+
16
−
6
View file @
4f439b07
...
@@ -62,21 +62,31 @@ WG_CHAN=32 # channel in subband 0..63, where 32 is at center
...
@@ -62,21 +62,31 @@ WG_CHAN=32 # channel in subband 0..63, where 32 is at center
WG_CHAN_FRACTION
=
0.0
# channel fraction 0.0 is at center of channel
WG_CHAN_FRACTION
=
0.0
# channel fraction 0.0 is at center of channel
WG_PHASE
=
0
WG_PHASE
=
0
POL
=
0
POLS
=
0
# 0= X, 1 = Y, 0,1 = X,Y
GLOBAL_SP
=
56
# SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
# Derived constants
# Derived constants
if
[
"
$POL
"
==
"0"
]
;
then
if
[
"
$POLS
"
==
"0"
]
;
then
UNBS
=
'0:3'
GLOBAL_SP_X
=
56
# SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
elif
[
"
$POLS
"
==
"1"
]
;
then
GLOBAL_SP_Y
=
56
# SP 56 is at center of PAF and connected via --unb 3 --bn 2 --sp 0
else
else
UNBS
=
'4:7'
GLOBAL_SP_X
=
56
GLOBAL_SP_Y
=
56
fi
fi
# Setup all WG at dish to ampl = 0 for all SP and both pol
# Setup all WG at dish to ampl = 0 for all SP and both pol
python
$UPE
/peripherals/pi_apertif_system.py
--unb
0:7
--bn
0:3
--sp
0:3
--pol
0,1
--cmd
20
-v
5
--globalsp
0:63
--sub
0
--chan
32
--ampl
0
--phs
0
python
$UPE
/peripherals/pi_apertif_system.py
--unb
0:7
--bn
0:3
--sp
0:3
--pol
0,1
--cmd
20
-v
5
--globalsp
0:63
--sub
0
--chan
32
--ampl
0
--phs
0
# Setup WG_AMPL for one GLOBAL_SP and one POL
# Setup WG_AMPL for one GLOBAL_SP and one POL
python
$UPE
/peripherals/pi_apertif_system.py
--unb
0:3
--bn
0:3
--sp
0:3
--pol
$POL
--cmd
20
-v
5
--globalsp
$GLOBAL_SP
--sub
$WG_SUB
--chan
$WG_CHAN
--ampl
$WG_AMPL
--chanfraction
$WG_CHAN_FRACTION
--phs
$WG_PHASE
if
[
"
$POLS
"
==
"0"
]
;
then
python
$UPE
/peripherals/pi_apertif_system.py
--unb
0:3
--bn
0:3
--sp
0:3
--pol
0
--cmd
20
-v
5
--globalsp
$GLOBAL_SP_X
--sub
$WG_SUB
--chan
$WG_CHAN
--ampl
$WG_AMPL
--chanfraction
$WG_CHAN_FRACTION
--phs
$WG_PHASE
elif
[
"
$POLS
"
==
"1"
]
;
then
python
$UPE
/peripherals/pi_apertif_system.py
--unb
4:7
--bn
0:3
--sp
0:3
--pol
1
--cmd
20
-v
5
--globalsp
$GLOBAL_SP_Y
--sub
$WG_SUB
--chan
$WG_CHAN
--ampl
$WG_AMPL
--chanfraction
$WG_CHAN_FRACTION
--phs
$WG_PHASE
else
:
python
$UPE
/peripherals/pi_apertif_system.py
--unb
0:3
--bn
0:3
--sp
0:3
--pol
0
--cmd
20
-v
5
--globalsp
$GLOBAL_SP_X
--sub
$WG_SUB
--chan
$WG_CHAN
--ampl
$WG_AMPL
--chanfraction
$WG_CHAN_FRACTION
--phs
$WG_PHASE
python
$UPE
/peripherals/pi_apertif_system.py
--unb
4:7
--bn
0:3
--sp
0:3
--pol
1
--cmd
20
-v
5
--globalsp
$GLOBAL_SP_Y
--sub
$WG_SUB
--chan
$WG_CHAN
--ampl
$WG_AMPL
--chanfraction
$WG_CHAN_FRACTION
--phs
$WG_PHASE
fi
# Start WG at scheduled BSN in future
# Start WG at scheduled BSN in future
python
$UPE
/peripherals/util_diag_wg_wideband.py
--unb
0:7
--bn
0:3
--sp
0:3
-v
5
-n
1
--bsn
$SCHEDULED_BSN
python
$UPE
/peripherals/util_diag_wg_wideband.py
--unb
0:7
--bn
0:3
--sp
0:3
-v
5
-n
1
--bsn
$SCHEDULED_BSN
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment