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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
2c425999
Commit
2c425999
authored
18 years ago
by
Adriaan Renting
Browse files
Options
Downloads
Patches
Plain Diff
BugID: 700
bugfix (thanks Ger)
parent
3fa02be0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h
+2
-2
2 additions, 2 deletions
.../CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h
Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc
+5
-5
5 additions, 5 deletions
Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc
with
7 additions
and
7 deletions
Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h
+
2
−
2
View file @
2c425999
...
...
@@ -51,8 +51,8 @@ namespace LOFAR
int
itsStep
;
int
itsNX
;
int
itsNY
;
int
itsCellX
;
int
itsCellY
;
double
itsCellX
;
double
itsCellY
;
std
::
string
itsStokes
;
std
::
string
itsWeightType
;
int
itsWeightNPixels
;
...
...
This diff is collapsed.
Click to expand it.
Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc
+
5
−
5
View file @
2c425999
...
...
@@ -74,8 +74,8 @@ namespace LOFAR
itsStep
=
ParamSet
->
getInt32
(
"step"
);
itsNX
=
ParamSet
->
getInt32
(
"nx"
);
itsNY
=
ParamSet
->
getInt32
(
"ny"
);
itsCellX
=
ParamSet
->
get
Int32
(
"cellx"
);
itsCellY
=
ParamSet
->
get
Int32
(
"celly"
);
itsCellX
=
ParamSet
->
get
Double
(
"cellx"
);
itsCellY
=
ParamSet
->
get
Double
(
"celly"
);
itsStokes
=
ParamSet
->
getString
(
"stokes"
);
itsWeightType
=
ParamSet
->
getString
(
"weighttype"
);
itsWeightNPixels
=
ParamSet
->
getInt32
(
"weightnpixels"
);
...
...
@@ -113,8 +113,8 @@ namespace LOFAR
const
casa
::
Vector
<
casa
::
Int
>
myFieldID
(
1
,
itsFieldID
);
myImager
->
setdata
(
myMode
,
myNChannel
,
myStart
,
myStep
,
itsMStart
,
itsMStep
,
itsSpectralWindowIDs
,
myFieldID
);
const
casa
::
Quantity
its
CellX
(
itsCellX
,
"arcsec"
);
const
casa
::
Quantity
its
CellY
(
itsCellY
,
"arcsec"
);
const
casa
::
Quantity
my
CellX
(
itsCellX
,
"arcsec"
);
const
casa
::
Quantity
my
CellY
(
itsCellY
,
"arcsec"
);
const
casa
::
String
myStokes
(
itsStokes
);
bool
itsDoShift
(
false
);
const
casa
::
MDirection
itsPhaseCenter
(
0.0
);
//? unknown what the default should be, AR
...
...
@@ -124,7 +124,7 @@ namespace LOFAR
const
casa
::
Quantity
itsDistance
(
0
,
"m"
);
const
casa
::
Float
itsPaStep
(
5.0
);
//? unknown what the default should be, AR
const
casa
::
Float
itsPbLimit
(
0.05
);
//? unknown what the default should be, AR
myImager
->
setimage
(
itsNX
,
itsNY
,
its
CellX
,
its
CellY
,
myStokes
,
itsDoShift
,
itsPhaseCenter
,
itsShiftX
,
itsShiftY
,
myImager
->
setimage
(
itsNX
,
itsNY
,
my
CellX
,
my
CellY
,
myStokes
,
itsDoShift
,
itsPhaseCenter
,
itsShiftX
,
itsShiftY
,
myMode
,
itsNChannel
,
itsStart
,
itsStep
,
itsMStart
,
itsMStep
,
itsSpectralWindowIDs
,
itsFieldID
,
itsFacets
,
itsDistance
,
itsPaStep
,
itsPbLimit
);
...
...
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