Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
BAORadio
AnaPAON4
Commits
7557c090
Commit
7557c090
authored
Mar 12, 2015
by
Reza ANSARI
Browse files
Correction index freq pour 1420MHz, Reza 12/03/2015
parent
a677380c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
visi2ntac.cc
visi2ntac.cc
+7
-13
No files found.
visi2ntac.cc
View file @
7557c090
...
...
@@ -91,9 +91,9 @@ int main(int narg, char* arg[])
<<
" Imin,max,step="
<<
Imin
<<
","
<<
Imax
<<
","
<<
Istep
<<
" OutFile:"
<<
outfile
<<
"
\n
"
<<
JFmin
<<
" <=NumFreq<= "
<<
JFmax
<<
" DeltaIAvg="
<<
deltaIavg
<<
" PrtLev="
<<
prtlev
<<
endl
;
// Bande de frequence de 2 MHz autour du 21 cm (1420 MHz -> JF=27
58
)
sa_size_t
JFmin21
=
27
48
,
JFmax21
=
2
76
8
;
// +/- 1 MHz autour de 1420 MHz
sa_size_t
JFmin21_5
=
2
676
,
JFmax21_5
=
284
0
;
// +/- 5 MHz autour de 1420 MHz
// Bande de frequence de 2 MHz autour du 21 cm (1420 MHz -> JF=27
92
)
sa_size_t
JFmin21
=
27
76
,
JFmax21
=
2
80
8
;
// +/- 1 MHz autour de 1420 MHz
sa_size_t
JFmin21_5
=
2
710
,
JFmax21_5
=
28
7
4
;
// +/- 5 MHz autour de 1420 MHz
cout
<<
" pjHI +/-1 MHz @1420 MHz "
<<
JFmin21
<<
" <=NumFreq<= "
<<
JFmax21
<<
" pjHI +/-5 MHz @1420 MHz "
<<
JFmin21_5
<<
" <=NumFreq<= "
<<
JFmax21_5
<<
endl
;
...
...
@@ -137,17 +137,11 @@ int main(int narg, char* arg[])
cout
<<
"visi2ntac/Info: dateobs="
<<
dateobs
<<
" SecondsPart()="
<<
dateobs
.
SecondsPart
()
<<
endl
;
for
(
int
k
=
0
;
k
<
24
;
k
++
)
xnt
[
2
+
k
]
=
0.
;
}
for
(
int
k
=
0
;
k
<
8
;
k
++
)
{
// integration en bande large
for
(
int
k
=
0
;
k
<
8
;
k
++
)
{
TVector
<
complex
<
r_4
>
>
vac
=
vismtx
.
Row
(
KVAC
[
k
]);
xnt
[
2
+
k
]
+=
vac
(
freqs
).
Sum
().
real
();
}
for
(
int
k
=
0
;
k
<
8
;
k
++
)
{
// integration a +/- 1 MHz @ 1420 MHz
TVector
<
complex
<
r_4
>
>
vac
=
vismtx
.
Row
(
KVAC
[
k
]);
xnt
[
2
+
8
+
k
]
+=
vac
(
freqs21
).
Sum
().
real
();
}
for
(
int
k
=
0
;
k
<
8
;
k
++
)
{
// integration a +/- 5 MHz @ 1420 MHz
TVector
<
complex
<
r_4
>
>
vac
=
vismtx
.
Row
(
KVAC
[
k
]);
xnt
[
2
+
16
+
k
]
+=
vac
(
freqs21_5
).
Sum
().
real
();
xnt
[
2
+
k
]
+=
vac
(
freqs
).
Sum
().
real
();
// integration en bande large
xnt
[
2
+
8
+
k
]
+=
vac
(
freqs21
).
Sum
().
real
();
// integration a +/- 1 MHz @ 1420 MHz
xnt
[
2
+
16
+
k
]
+=
vac
(
freqs21_5
).
Sum
().
real
();
// integration a +/- 5 MHz @ 1420 MHz
}
I
++
;
if
(
I
==
deltaIavg
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment