Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
d5857ab3
Commit
d5857ab3
authored
6 years ago
by
Thomas Jürges
Browse files
Options
Downloads
Patches
Plain Diff
SW-546
: Explain the assumption for the first spectral frame
parent
a96c67e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc
+9
-4
9 additions, 4 deletions
RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc
with
9 additions
and
4 deletions
RTCP/Cobalt/OutputProc/src/TBB_Dipole.cc
+
9
−
4
View file @
d5857ab3
...
...
@@ -207,7 +207,7 @@ namespace LOFAR
* Then we can write flags while data comes in. Else, leave
* as-is.
*/
if
(
doT
ransient
()
)
if
(
t
ransient
Mode
==
true
)
{
itsDipoleDataset
()
->
flagOffsets
().
create
(
itsDumpInfo
.
itsFlagOffsets
.
size
()).
set
(
...
...
@@ -407,6 +407,12 @@ namespace LOFAR
*/
else
if
(
currentSubBand
.
isInitialised
==
false
)
{
/**
* Assume that the first ever received frame for any sub-band is
* the very first frame that got ever sent for that sub-band. This
* is the only assumption made about the order of frames sent by
* TBB.
*/
currentSubBand
.
time0
=
frame
.
header
.
time
;
currentSubBand
.
slice0
=
sliceNr
;
...
...
@@ -446,8 +452,7 @@ namespace LOFAR
currentSubBand
.
dataSet
->
timeResolution
().
value
=
static_cast
<
double
>
(
SPECTRAL_TRANSFORM_SIZE
)
/
(
frame
.
header
.
sampleFreq
*
1000000.0
);
currentSubBand
.
dataSet
->
timeResolutionUnit
().
value
=
"s"
;
currentSubBand
.
dataSet
->
timeResolutionUnit
().
value
=
"s"
;
currentSubBand
.
dataSet
->
bandwidth
().
value
=
static_cast
<
double
>
(
frame
.
header
.
sampleFreq
)
*
1000000.0
/
static_cast
<
double
>
(
SPECTRAL_TRANSFORM_SIZE
);
...
...
@@ -483,7 +488,7 @@ namespace LOFAR
<<
currentSubBand
.
slice0
<<
", HDF5 SubbandDataset name = "
<<
currentSubBand
.
dataSet
->
name
()
<<
"
, dipole = "
<<
", dipole = "
<<
itsDipoleGroup
()
->
name
()
<<
", station id = "
<<
static_cast
<
uint32_t
>
(
frame
.
header
.
stationID
)
...
...
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