Skip to content

Commit

Permalink
expand debug
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Jun 18, 2024
1 parent 7d6a564 commit 5d62a90
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ public static long[] findMinStepSize( final AbstractSpimData< ? > data )
// lowest resolution defines the minimal steps size
final double[] lowestResolution = mipmapResolutions[ mipmapResolutions.length - 1 ];

IOFunctions.println( "lowest resolution: " + Arrays.toString( lowestResolution ) );

for ( int d = 0; d < minStepSize.length; ++d )
{
if ( Math.abs( lowestResolution[ d ] % 1 ) > 0.001 && ( 1.0 - Math.abs( lowestResolution[ d ] % 1 ) ) > 0.001 )
Expand All @@ -334,6 +336,9 @@ public static long[] findMinStepSize( final AbstractSpimData< ? > data )

minStepSize[ d ] = lowestCommonMultiplier( minStepSize[ d ], Math.round( lowestResolution[ d ] ) );
}

IOFunctions.println( "updated min step size: " + Arrays.toString( minStepSize ) );

}
}
else
Expand Down

0 comments on commit 5d62a90

Please sign in to comment.