Skip to content

Commit

Permalink
Merge pull request #548 from imagej/refractive_index_fix
Browse files Browse the repository at this point in the history
Set design lens RI equal to experiment lens RI
  • Loading branch information
imagejan authored Mar 22, 2018
2 parents 9fe89b8 + 47977a3 commit feeb13e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ public class DefaultCreateKernelGibsonLanni<T extends ComplexType<T> & NativeTyp
public void initialize() {
createOp = (BinaryFunctionOp) Functions.binary(ops(), Ops.Create.Img.class,
Img.class, Dimensions.class, NativeType.class);

ni0 = ni;
}

@Override
Expand Down Expand Up @@ -231,7 +233,7 @@ else if (size.numDimensions() == 3) {
beta = k0 * this.NA * r[n] * this.resLateral;

for (int m = 0; m < this.numBasis; m++) {
//am = (3 * m + 1) * factor;
// am = (3 * m + 1) * factor;
am = (3 * m + 1);
rm = am * bj1.value(am * b) * bj0.value(beta * b) * b;
rm = rm - beta * b * bj0.value(am * b) * bj1.value(beta * b);
Expand Down

0 comments on commit feeb13e

Please sign in to comment.