Skip to content
GitLab
Explore
Sign in
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
cca725e1
"README" did not exist on "8c1105895d337eb7d53b9193ccae6fd44fe5c53d"
Commit
cca725e1
authored
14 years ago
by
John Romein
Browse files
Options
Downloads
Patches
Plain Diff
bug 225:
(Hopefully) fixed frequency bug.
parent
66a81abd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RTCP/CNProc/src/Dedispersion.cc
+1
-1
1 addition, 1 deletion
RTCP/CNProc/src/Dedispersion.cc
with
1 addition
and
1 deletion
RTCP/CNProc/src/Dedispersion.cc
+
1
−
1
View file @
cca725e1
...
@@ -111,7 +111,7 @@ void Dedispersion::initChirp(CN_Configuration &configuration, const std::vector<
...
@@ -111,7 +111,7 @@ void Dedispersion::initChirp(CN_Configuration &configuration, const std::vector<
for
(
unsigned
subbandIndex
=
0
;
subbandIndex
<
subbands
.
size
();
subbandIndex
++
)
{
for
(
unsigned
subbandIndex
=
0
;
subbandIndex
<
subbands
.
size
();
subbandIndex
++
)
{
unsigned
subband
=
subbands
[
subbandIndex
];
unsigned
subband
=
subbands
[
subbandIndex
];
double
subbandFrequency
=
configuration
.
refFreqs
()[
subband
Index
];
double
subbandFrequency
=
configuration
.
refFreqs
()[
subband
];
double
channel0frequency
=
subbandFrequency
-
(
itsNrChannels
*
0.5
)
*
itsChannelBandwidth
;
double
channel0frequency
=
subbandFrequency
-
(
itsNrChannels
*
0.5
)
*
itsChannelBandwidth
;
double
binWidth
=
itsChannelBandwidth
/
itsFFTsize
;
double
binWidth
=
itsChannelBandwidth
/
itsFFTsize
;
double
dmConst
=
configuration
.
dispersionMeasure
()
*
2
*
M_PI
/
2.41e-16
;
double
dmConst
=
configuration
.
dispersionMeasure
()
*
2
*
M_PI
/
2.41e-16
;
...
...
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