mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-24 16:12:24 +00:00
Click display fixes (#41)
* Variable sound output level Mods to SoundPlayback module to allow additional parameters. Implemented system for NI cards to allow changes to selected output voltage range meaning output can be boosted to level higher than current default. * Code to support nogui operations when no screens present on headless system * Fix problem of nogui headless operation trying to access screen size. * Click detector display fixes 1. ICI not displaying correctly 2. Component sizes in display dialog on hres monitors
This commit is contained in:
parent
128a512ff6
commit
8569b6b579
@ -3332,7 +3332,8 @@ public class ClickBTDisplay extends ClickDisplay implements PamObserver, PamSett
|
||||
return false;
|
||||
}
|
||||
if (btDisplayParameters.VScale == BTDisplayParameters.DISPLAY_ICI) {
|
||||
if (btDisplayParameters.showUnassignedICI == false && click.getICI() < 0) return false;
|
||||
// if (btDisplayParameters.showUnassignedICI == false && click.getICI() < 0) return false;
|
||||
if (btDisplayParameters.showUnassignedICI == false && click.getSuperDetectionsCount() <= 0) return false;
|
||||
// otherwise may be ok, since will estimate all ici's on teh fly.
|
||||
}
|
||||
if (btDisplayParameters.amplitudeSelect && click.getAmplitudeDB() < btDisplayParameters.minAmplitude) {
|
||||
|
@ -106,6 +106,7 @@ public class ClickDisplayDialog extends PamDialog implements ActionListener {
|
||||
btPanel.setParams(btDisplayParameters);
|
||||
sizePanel.setParams(btDisplayParameters);
|
||||
speciesPanel.setParams(btDisplayParameters);
|
||||
pack();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user