Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open 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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
LOFAR2.0
tango
Merge requests
!464
Resolve
L2SS-1010
"Antenna cables"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
L2SS-1010
"Antenna cables"
L2SS-1010-antenna-cables
into
master
Overview
10
Commits
4
Pipelines
0
Changes
10
All threads resolved!
Hide all comments
Merged
Jan David Mol
requested to merge
L2SS-1010-antenna-cables
into
master
2 years ago
Overview
10
Commits
4
Pipelines
0
Changes
10
All threads resolved!
Hide all comments
Expand
Closes
L2SS-1010
0
0
Merge request reports
Viewing commit
ee90050b
Show latest version
10 files
+
362
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
ee90050b
L2SS-1010
: Initial support for calibration & antenna cables
· ee90050b
Jan David Mol
authored
2 years ago
tangostationcontrol/tangostationcontrol/common/__init__.py
+
4
−
0
Options
def
subband_frequency
(
subband
:
int
,
clock
:
float
,
nyquist_zone
:
int
)
->
int
:
"""
Obtain the frequencies of a subband, given a clock and an antenna type.
"""
subband_width
=
clock
/
1024
return
(
512
*
nyquist_zone
+
subband
)
*
subband_width
Loading