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
2deafa38
Commit
2deafa38
authored
6 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
SSB-44
: printing output data path
parent
cc51e00d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!44
Merge back holography to master
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CAL/CalibrationProcessing/bin/holography_process.py
+3
-3
3 additions, 3 deletions
CAL/CalibrationProcessing/bin/holography_process.py
with
3 additions
and
3 deletions
CAL/CalibrationProcessing/bin/holography_process.py
+
3
−
3
View file @
2deafa38
...
@@ -110,7 +110,7 @@ def station_averaging_step(dataset, input_datatable):
...
@@ -110,7 +110,7 @@ def station_averaging_step(dataset, input_datatable):
return
output_datable
return
output_datable
def
compute_gains_step
(
dataset
,
input_datatable
):
def
compute_gains_step
(
dataset
,
input_datatable
,
direct_complex
=
True
):
"""
"""
:param dataset:
:param dataset:
...
@@ -121,7 +121,7 @@ def compute_gains_step(dataset, input_datatable):
...
@@ -121,7 +121,7 @@ def compute_gains_step(dataset, input_datatable):
"""
"""
logger
.
info
(
'
computing gains per dataset
'
)
logger
.
info
(
'
computing gains per dataset
'
)
output_datable
=
\
output_datable
=
\
processing
.
solver
.
solve_gains_per_datatable
(
dataset
,
input_datatable
)
processing
.
solver
.
solve_gains_per_datatable
(
dataset
,
input_datatable
,
direct_complex
=
True
)
if
dataset
.
derived_data
is
None
:
if
dataset
.
derived_data
is
None
:
dataset
.
derived_data
=
dict
()
dataset
.
derived_data
=
dict
()
logger
.
info
(
'
gains per dataset computed
'
)
logger
.
info
(
'
gains per dataset computed
'
)
...
@@ -137,7 +137,7 @@ def execute_processing(arguments):
...
@@ -137,7 +137,7 @@ def execute_processing(arguments):
station_averaged_data
=
station_averaging_step
(
dataset
,
averaged_data
)
station_averaged_data
=
station_averaging_step
(
dataset
,
averaged_data
)
gains
=
compute_gains_step
(
dataset
,
station_averaged_data
)
gains
=
compute_gains_step
(
dataset
,
station_averaged_data
)
logger
.
info
(
'
storing datatafile in %s
'
,
os
.
path
.
abspath
(
arguments
.
output_path
))
dataset
.
store_to_file
(
arguments
.
output_path
)
dataset
.
store_to_file
(
arguments
.
output_path
)
...
...
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