Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
08bb8d2d
Commit
08bb8d2d
authored
Dec 02, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing changing of number of stations
parent
00d8802c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
PatternParameters.java
src/main/java/PatternParameters.java
+2
-1
No files found.
src/main/java/PatternParameters.java
View file @
08bb8d2d
...
@@ -755,8 +755,9 @@ import java.util.Properties;
...
@@ -755,8 +755,9 @@ import java.util.Properties;
throw
new
IllegalArgumentException
(
msg
);
throw
new
IllegalArgumentException
(
msg
);
}
}
if
(
this
.
stationZCorr
==
null
)
return
this
.
gridGeometry
[
v1
][
u1
];
if
(
this
.
stationZCorr
==
null
)
return
this
.
gridGeometry
[
v1
][
u1
];
if
(
station
>
this
.
stationZCorr
[
v1
][
u1
].
length
)
station
=
this
.
stationZCorr
[
v1
][
u1
].
length
-
1
;
double
[]
result
=
this
.
gridGeometry
[
v1
][
u1
].
clone
();
double
[]
result
=
this
.
gridGeometry
[
v1
][
u1
].
clone
();
result
[
2
]+=
this
.
stationZCorr
[
v1
][
u1
][
station
];
result
[
2
]+=
this
.
stationZCorr
[
v1
][
u1
][
station
];
// if pattern did not have multi-station?
return
result
;
return
result
;
}
}
public
double
[]
getXYZMAverage
(
int
u
,
int
v
){
// u=0,v=0 - center!
public
double
[]
getXYZMAverage
(
int
u
,
int
v
){
// u=0,v=0 - center!
...
...
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