[no commit message]
This commit is contained in:
parent
7937753445
commit
1a1c17a1ae
@ -55,7 +55,7 @@ import org.apache.commons.math3.fitting.WeightedObservedPoint;
|
||||
@ValueDef(name = "lowerWindow", type = "NUMBER", def = "0", info = "Base for the window lowerWindow bound")
|
||||
@ValueDef(name = "lowerWindowSlope", type = "NUMBER", def = "0", info = "Slope for the window lowerWindow bound")
|
||||
@ValueDef(name = "upperWindow", type = "NUMBER", info = "Upper bound for window")
|
||||
@ValueDef(name = "deadTime", type = "NUMBER", def = "0", info = "Dead time in us")
|
||||
@ValueDef(name = "deadTime", type = "[NUMBER, STRING]", def = "0", info = "Dead time in s. Could be an expression.")
|
||||
@ValueDef(name = "underflow", type = "BOOLEAN", def = "true",
|
||||
info = "Enables calculation of detector threshold underflow using exponential shape of energy spectrum tail. "
|
||||
+ "Not recomended to use with floating window.")
|
||||
|
@ -25,38 +25,38 @@ public class SterileNeutrinoSpectrum extends AbstractParametricFunction {
|
||||
super(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* Transmission function including detector backscattering
|
||||
*
|
||||
* @param u
|
||||
* @param set
|
||||
* @return
|
||||
*/
|
||||
private BivariateFunction transmission(double u, NamedValueSet set) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Loss function excluding trapping
|
||||
*
|
||||
* @param u
|
||||
* @param set
|
||||
* @return
|
||||
*/
|
||||
private BivariateFunction loss(double u, NamedValueSet set) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Trapping spectrum
|
||||
*
|
||||
* @param u
|
||||
* @param set
|
||||
* @return
|
||||
*/
|
||||
private BivariateFunction trapping(double u, NamedValueSet set) {
|
||||
|
||||
}
|
||||
// /**
|
||||
// * Transmission function including detector backscattering
|
||||
// *
|
||||
// * @param u
|
||||
// * @param set
|
||||
// * @return
|
||||
// */
|
||||
// private BivariateFunction transmission(double u, NamedValueSet set) {
|
||||
//
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Loss function excluding trapping
|
||||
// *
|
||||
// * @param u
|
||||
// * @param set
|
||||
// * @return
|
||||
// */
|
||||
// private BivariateFunction loss(double u, NamedValueSet set) {
|
||||
//
|
||||
// }
|
||||
//
|
||||
// /**
|
||||
// * Trapping spectrum
|
||||
// *
|
||||
// * @param u
|
||||
// * @param set
|
||||
// * @return
|
||||
// */
|
||||
// private BivariateFunction trapping(double u, NamedValueSet set) {
|
||||
//
|
||||
// }
|
||||
|
||||
/**
|
||||
* Source spectrum including final states
|
||||
@ -81,7 +81,7 @@ public class SterileNeutrinoSpectrum extends AbstractParametricFunction {
|
||||
|
||||
@Override
|
||||
public double value(double u, NamedValueSet set) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -36,7 +36,6 @@ import inr.numass.NumassIO;
|
||||
import inr.numass.NumassProperties;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintStream;
|
||||
import java.net.URL;
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
@ -297,7 +296,7 @@ public class NumassWorkbenchController implements Initializable, StagePaneHolder
|
||||
FileChooser fileChooser = new FileChooser();
|
||||
fileChooser.setTitle("Open Configuration File");
|
||||
String storageRoot = NumassProperties.getNumassProperty("numass.workbench.root");
|
||||
if (storageRoot == null) {
|
||||
if (storageRoot == null || !new File(storageRoot).exists()) {
|
||||
fileChooser.setInitialDirectory(new File(".").getAbsoluteFile());
|
||||
} else {
|
||||
fileChooser.setInitialDirectory(new File(storageRoot));
|
||||
|
Loading…
Reference in New Issue
Block a user