diff --git a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/adiab-2024.kt b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/adiab-2024.kt index c2e0826..3029d4d 100644 --- a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/adiab-2024.kt +++ b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/adiab-2024.kt @@ -23,7 +23,7 @@ private val TABLE_Y = arrayOf( 0.328158438205719, 0.312913507223129, 0.298821419477463) fun adiab2024(e: Double, u: Double): Double { - val delta = e - u - 200; + val delta = e - u - 200 if (delta < 3000) { return 1.0 diff --git a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/fit-custom.kt b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/fit-custom.kt index 5df5cf3..a7c445c 100644 --- a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/fit-custom.kt +++ b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/fit-custom.kt @@ -9,7 +9,6 @@ import com.github.ajalt.clikt.parameters.options.default import com.github.ajalt.clikt.parameters.options.flag import com.github.ajalt.clikt.parameters.options.help import com.github.ajalt.clikt.parameters.options.option -import com.github.ajalt.clikt.parameters.types.boolean import com.github.ajalt.clikt.parameters.types.double import kotlinx.coroutines.runBlocking import kotlinx.html.* diff --git a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/reartrap-spectrum.kt b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/reartrap-spectrum.kt index 8d0955f..44a3e10 100644 --- a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/reartrap-spectrum.kt +++ b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/reartrap-spectrum.kt @@ -22,7 +22,7 @@ import space.kscience.plotly.models.TraceType import kotlin.math.pow fun main() { - val maxDelta = (WALL_R - WALL_L); + val maxDelta = (WALL_R - WALL_L) val rearTrapInterpolator = RearTrapInterpolator() val range = (WALL_L - 10.0)..18600.0 step 10.0 diff --git a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/trap-plot.kt b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/trap-plot.kt index f782575..b74add8 100644 --- a/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/trap-plot.kt +++ b/numass-workspace/src/main/kotlin/ru/inr/mass/scripts/trap-plot.kt @@ -10,7 +10,7 @@ import space.kscience.kmath.structures.asBuffer import space.kscience.plotly.models.ScatterMode fun main() { - val maxDelta = (WALL_R - WALL_L); + val maxDelta = (WALL_R - WALL_L) val interpolator = TrapInterpolator() Plotly.page {