Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EveryBeam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Container Registry
Model registry
Operate
Environments
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
ResearchAndDevelopment
EveryBeam
Commits
1e2fa189
Commit
1e2fa189
authored
5 years ago
by
Bram Veenboer
Browse files
Options
Downloads
Patches
Plain Diff
Rename m_element_response to itsElementResponse
parent
36ddd985
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
DualDipoleAntenna.cc
+2
-2
2 additions, 2 deletions
DualDipoleAntenna.cc
DualDipoleAntenna.h
+1
-1
1 addition, 1 deletion
DualDipoleAntenna.h
Station.cc
+4
-4
4 additions, 4 deletions
Station.cc
TileAntenna.cc
+2
-2
2 additions, 2 deletions
TileAntenna.cc
TileAntenna.h
+1
-1
1 addition, 1 deletion
TileAntenna.h
with
10 additions
and
10 deletions
DualDipoleAntenna.cc
+
2
−
2
View file @
1e2fa189
...
...
@@ -41,12 +41,12 @@ matrix22c_t DualDipoleAntenna::response(real_t freq,
vector2r_t
thetaphi
=
cart2thetaphi
(
direction
);
thetaphi
[
1
]
-=
5.0
*
Constants
::
pi_4
;
matrix22c_t
response
;
m_e
lement
_r
esponse
->
element_response
(
freq
,
thetaphi
[
0
],
thetaphi
[
1
],
itsE
lement
R
esponse
->
element_response
(
freq
,
thetaphi
[
0
],
thetaphi
[
1
],
reinterpret_cast
<
std
::
complex
<
double
>
(
&
)[
2
][
2
]
>
(
response
));
return
response
;
}
std
::
unique_ptr
<
ElementResponse
>
DualDipoleAntenna
::
m_e
lement
_r
esponse
=
nullptr
;
std
::
unique_ptr
<
ElementResponse
>
DualDipoleAntenna
::
itsE
lement
R
esponse
=
nullptr
;
}
//# namespace StationResponse
}
//# namespace LOFAR
This diff is collapsed.
Click to expand it.
DualDipoleAntenna.h
+
1
−
1
View file @
1e2fa189
...
...
@@ -52,7 +52,7 @@ public:
virtual
matrix22c_t
response
(
real_t
freq
,
const
vector3r_t
&
direction
)
const
final
override
;
static
std
::
unique_ptr
<
ElementResponse
>
m_e
lement
_r
esponse
;
static
std
::
unique_ptr
<
ElementResponse
>
itsE
lement
R
esponse
;
};
// @}
...
...
This diff is collapsed.
Click to expand it.
Station.cc
+
4
−
4
View file @
1e2fa189
...
...
@@ -37,11 +37,11 @@ Station::Station(const string &name, const vector3r_t &position)
itsPosition
(
position
),
itsPhaseReference
(
position
)
{
if
(
DualDipoleAntenna
::
m_e
lement
_r
esponse
==
nullptr
)
{
DualDipoleAntenna
::
m_e
lement
_r
esponse
.
reset
(
new
HamakerElementResponseLBA
);
if
(
DualDipoleAntenna
::
itsE
lement
R
esponse
==
nullptr
)
{
DualDipoleAntenna
::
itsE
lement
R
esponse
.
reset
(
new
HamakerElementResponseLBA
);
}
if
(
TileAntenna
::
m_e
lement
_r
esponse
==
nullptr
)
{
TileAntenna
::
m_e
lement
_r
esponse
.
reset
(
new
HamakerElementResponseHBA
);
if
(
TileAntenna
::
itsE
lement
R
esponse
==
nullptr
)
{
TileAntenna
::
itsE
lement
R
esponse
.
reset
(
new
HamakerElementResponseHBA
);
}
}
...
...
This diff is collapsed.
Click to expand it.
TileAntenna.cc
+
2
−
2
View file @
1e2fa189
...
...
@@ -88,12 +88,12 @@ matrix22c_t TileAntenna::elementResponse(real_t freq,
thetaphi
[
1
]
-=
5.0
*
Constants
::
pi_4
;
matrix22c_t
response
;
m_e
lement
_r
esponse
->
element_response
(
freq
,
thetaphi
[
0
],
thetaphi
[
1
],
itsE
lement
R
esponse
->
element_response
(
freq
,
thetaphi
[
0
],
thetaphi
[
1
],
reinterpret_cast
<
std
::
complex
<
double
>
(
&
)[
2
][
2
]
>
(
response
));
return
response
;
}
std
::
unique_ptr
<
ElementResponse
>
TileAntenna
::
m_e
lement
_r
esponse
=
nullptr
;
std
::
unique_ptr
<
ElementResponse
>
TileAntenna
::
itsE
lement
R
esponse
=
nullptr
;
}
//# namespace StationResponse
}
//# namespace LOFAR
This diff is collapsed.
Click to expand it.
TileAntenna.h
+
1
−
1
View file @
1e2fa189
...
...
@@ -63,7 +63,7 @@ public:
virtual
matrix22c_t
elementResponse
(
real_t
freq
,
const
vector3r_t
&
direction
)
const
final
override
;
static
std
::
unique_ptr
<
ElementResponse
>
m_e
lement
_r
esponse
;
static
std
::
unique_ptr
<
ElementResponse
>
itsE
lement
R
esponse
;
private
:
TileConfig
itsConfig
;
...
...
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