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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
4a9ccbf1
Commit
4a9ccbf1
authored
11 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #5879: Correct Observation.*Stokes.samplingTime LTA feedback parameter
parent
cf073028
Branches
Branches containing commit
Tags
Cobalt-Release-1_6_6
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
RTCP/Cobalt/CoInterface/src/Parset.cc
+11
-9
11 additions, 9 deletions
RTCP/Cobalt/CoInterface/src/Parset.cc
with
11 additions
and
9 deletions
RTCP/Cobalt/CoInterface/src/Parset.cc
+
11
−
9
View file @
4a9ccbf1
...
...
@@ -1468,39 +1468,41 @@ namespace LOFAR
}
if
(
settings
.
beamFormer
.
enabled
)
{
// For Cobalt, we do not collapse channels. There's no need to do so,
// because we can do the final PPF/FFT on the desired number of output
// channels. The BlueGene, on the other hand, uses a fixed PPF/FFT size,
// so that the number of channels has to be reduced in the final step.
// As a result, `rawSamplingTime` is identical to `samplingTime`,
// `nrOfCollapsedChannels` is equal to the number of output channels per
// subband, and `frequencyDownsamplingFactor` is always 1.
const
ObservationSettings
::
BeamFormer
::
StokesSettings
&
coherentStokes
=
settings
.
beamFormer
.
coherentSettings
;
const
ObservationSettings
::
BeamFormer
::
StokesSettings
&
incoherentStokes
=
settings
.
beamFormer
.
incoherentSettings
;
// The 'rawSamplingTime' is the duration of a sample right after the PPF
ps
.
add
(
"Observation.CoherentStokes.rawSamplingTime"
,
str
(
format
(
"%.16g"
)
%
(
sampleDuration
()
*
coherentStokes
.
nrChannels
)));
ps
.
add
(
"Observation.IncoherentStokes.rawSamplingTime"
,
str
(
format
(
"%.16g"
)
%
(
sampleDuration
()
*
incoherentStokes
.
nrChannels
)));
// The 'samplingTime' is the duration of a sample in the output
ps
.
add
(
"Observation.CoherentStokes.samplingTime"
,
str
(
format
(
"%.16g"
)
%
(
sampleDuration
()
*
coherentStokes
.
nrChannels
)));
(
sampleDuration
()
*
coherentStokes
.
nrChannels
*
coherentStokes
.
timeIntegrationFactor
)));
ps
.
add
(
"Observation.IncoherentStokes.samplingTime"
,
str
(
format
(
"%.16g"
)
%
(
sampleDuration
()
*
incoherentStokes
.
nrChannels
)));
(
sampleDuration
()
*
incoherentStokes
.
nrChannels
*
incoherentStokes
.
timeIntegrationFactor
)));
ps
.
add
(
"Observation.CoherentStokes.timeDownsamplingFactor"
,
str
(
format
(
"%.16g"
)
%
coherentStokes
.
timeIntegrationFactor
));
ps
.
add
(
"Observation.IncoherentStokes.timeDownsamplingFactor"
,
str
(
format
(
"%.16g"
)
%
incoherentStokes
.
timeIntegrationFactor
));
// The BG/P could 'collapse channels'. Cobalt does not need that, so we
// put fixed/trivial values here.
ps
.
add
(
"Observation.CoherentStokes.nrOfCollapsedChannels"
,
str
(
format
(
"%u"
)
%
coherentStokes
.
nrChannels
));
ps
.
add
(
"Observation.IncoherentStokes.nrOfCollapsedChannels"
,
str
(
format
(
"%u"
)
%
incoherentStokes
.
nrChannels
));
ps
.
add
(
"Observation.CoherentStokes.frequencyDownsamplingFactor"
,
"1"
);
ps
.
add
(
"Observation.IncoherentStokes.frequencyDownsamplingFactor"
,
"1"
);
ps
.
add
(
"Observation.CoherentStokes.stokes"
,
stokesType
(
coherentStokes
.
type
));
ps
.
add
(
"Observation.IncoherentStokes.stokes"
,
...
...
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