File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
main/java/org/scijava/ops/flim
test/java/org/scijava/ops/flim Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4545 * @author Dasong Gao
4646 * @author Gabriel Selzer
4747 */
48- public class FractionalContributions {
48+ public class AmplitudeFractions {
4949
5050 /**
5151 * @param rslt the results from fitting an image
5252 * @param index the index
5353 * @return a percentage image
54- * @implNote op names="flim.aPercent ", type=Function
54+ * @implNote op names="flim.amplitudeFraction ", type=Function
5555 */
56- public static Img <FloatType > defaultFractionalContribution ( //
56+ public static Img <FloatType > defaultAmplitudeFraction ( //
5757 FitResults rslt , //
5858 int index //
5959 ) {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ private Creators() {
5151 *
5252 * @param size the width/height of the kernel
5353 * @return a kernel for use in Flim
54- * @implNote op names="create.kernelFlim " type=Function
54+ * @implNote op names="create.kernelSum " type=Function
5555 */
5656 public static Img <DoubleType > makeSquareKernel (int size ) {
5757 Img <DoubleType > out = ArrayImgs .doubles (size , size , 1 );
Original file line number Diff line number Diff line change 3636import org .scijava .types .Nil ;
3737
3838/**
39- * Tests {@link FractionalContributions } ops.
39+ * Tests {@link AmplitudeFractions } ops.
4040 *
4141 * @author Dasong Gao
4242 * @author Gabriel Selzer
4343 */
44- public class FractionalContributionsTest extends AbstractFlimTest {
44+ public class AmplitudeFractionsTest extends AbstractFlimTest {
4545
4646 @ Test
4747 public void testDefaultFractionalContribution () {
4848 int i = 0 ;
49- final Img <FloatType > A1Perc = ops .binary ("flim.aPercent " ) //
49+ final Img <FloatType > A1Perc = ops .binary ("flim.amplitudeFraction " ) //
5050 .input (rslt , 0 ) //
5151 .outType (new Nil <Img <FloatType >>()
5252 {}) //
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public void testRLDFitImg() {
123123 @ Test
124124 public void testBinning () {
125125 long ms = System .currentTimeMillis ();
126- var kernel = ops .unary ("create.kernelFlim " ).input (3 ).apply ();
126+ var kernel = ops .unary ("create.kernelSum " ).input (3 ).apply ();
127127 FitResults out = ops .ternary ("flim.fitRLD" ) //
128128 .input (param , roi , kernel ) //
129129 .outType (FitResults .class ) //
You can’t perform that action at this time.
0 commit comments