Skip to content
GitLab
Explore
Sign in
Register
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
0701dc61
Commit
0701dc61
authored
11 months ago
by
Herman Groot
Browse files
Options
Downloads
Patches
Plain Diff
AST-1436
: Hide conversion from interface and release
parent
d3841a83
No related branches found
Branches containing commit
Tags
v0.5.4
Tags containing commit
1 merge request
!328
AST-1436: Hide conversion from interface and release
Pipeline
#73543
skipped
Changes
4
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
cpp/station.cc
+19
-0
19 additions, 0 deletions
cpp/station.cc
cpp/station.h
+1
-15
1 addition, 15 deletions
cpp/station.h
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
22 additions
and
17 deletions
CMakeLists.txt
+
1
−
1
View file @
0701dc61
...
...
@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.15)
#------------------------------------------------------------------------------
# Set version name and project number
set
(
EVERYBEAM_VERSION 0.5.
3
)
# Keep in sync with `pyproject.toml` file
set
(
EVERYBEAM_VERSION 0.5.
4
)
# Keep in sync with `pyproject.toml` file
if
(
EVERYBEAM_VERSION MATCHES
"^([0-9]+)
\\
.([0-9]+)
\\
.([0-9]+)"
)
set
(
EVERYBEAM_VERSION_MAJOR
"
${
CMAKE_MATCH_1
}
"
)
set
(
EVERYBEAM_VERSION_MINOR
"
${
CMAKE_MATCH_2
}
"
)
...
...
This diff is collapsed.
Click to expand it.
cpp/station.cc
+
19
−
0
View file @
0701dc61
...
...
@@ -112,6 +112,25 @@ aocommon::MC2x2 Station::Response(real_t time, real_t freq,
return
antenna_
->
Response
(
*
element_response_
,
time
,
freq
,
direction
,
options
);
}
aocommon
::
MC2x2
Station
::
Response
(
CorrectionMode
mode
,
real_t
time
,
real_t
freq
,
const
vector3r_t
&
direction
,
real_t
freq0
,
const
vector3r_t
&
station0
,
const
vector3r_t
&
tile0
,
const
bool
is_local
,
const
bool
rotate
)
const
{
switch
(
mode
)
{
case
CorrectionMode
::
kNone
:
return
aocommon
::
MC2x2
::
Unity
();
case
CorrectionMode
::
kFull
:
return
Response
(
time
,
freq
,
direction
,
freq0
,
station0
,
tile0
,
rotate
);
case
CorrectionMode
::
kArrayFactor
:
return
aocommon
::
MC2x2
{
ArrayFactor
(
time
,
freq
,
direction
,
freq0
,
station0
,
tile0
)};
case
CorrectionMode
::
kElement
:
return
ComputeElementResponse
(
time
,
freq
,
direction
,
is_local
,
rotate
);
}
throw
std
::
runtime_error
(
"Invalid mode"
);
}
aocommon
::
MC2x2Diag
Station
::
ArrayFactor
(
real_t
time
,
real_t
freq
,
const
vector3r_t
&
direction
,
real_t
freq0
,
...
...
This diff is collapsed.
Click to expand it.
cpp/station.h
+
1
−
15
View file @
0701dc61
...
...
@@ -100,21 +100,7 @@ class [[gnu::visibility("default")]] Station {
const
vector3r_t
&
direction
,
real_t
freq0
,
const
vector3r_t
&
station0
,
const
vector3r_t
&
tile0
,
const
bool
is_local
=
false
,
const
bool
rotate
=
true
)
const
{
switch
(
mode
)
{
case
CorrectionMode
::
kNone
:
return
aocommon
::
MC2x2
::
Unity
();
case
CorrectionMode
::
kFull
:
return
Response
(
time
,
freq
,
direction
,
freq0
,
station0
,
tile0
,
rotate
);
case
CorrectionMode
::
kArrayFactor
:
// Only explicit conversions are allowed for AVX-enabled MC2x2
return
aocommon
::
MC2x2
{
ArrayFactor
(
time
,
freq
,
direction
,
freq0
,
station0
,
tile0
)};
case
CorrectionMode
::
kElement
:
return
ComputeElementResponse
(
time
,
freq
,
direction
,
is_local
,
rotate
);
}
throw
std
::
runtime_error
(
"Invalid mode"
);
}
const
bool
rotate
=
true
)
const
;
/*!
* \brief Compute the array factor of the station for a plane wave of
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
0701dc61
...
...
@@ -15,7 +15,7 @@ build-backend = "scikit_build_core.build"
[project]
name
=
"everybeam"
version
=
"0.5.
3
"
# Keep in sync with top-level `CMakeLists.txt` file
version
=
"0.5.
4
"
# Keep in sync with top-level `CMakeLists.txt` file
description
=
"EveryBeam"
readme
=
{
file
=
"README.md"
,
content-type
=
"text/markdown"
}
requires-python
=
">
=
3.7
"
...
...
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