Index

A B C D E F G H I L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acquiring - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
acquisitionActive - Variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
The field for the acquisitionActive record component.
acquisitionActive() - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Returns the value of the acquisitionActive record component.
AcquisitionConfig - Record Class in pl.polsl.rtsa.api.dto
Data Transfer Object representing signal acquisition parameters.
AcquisitionConfig(double, int, boolean) - Constructor for record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Creates an instance of a AcquisitionConfig record class.
addListener(DataListener) - Method in interface pl.polsl.rtsa.hardware.DeviceClient
Registers a listener to receive data and error events.
addListener(DataListener) - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Registers a listener to receive data and error events.
addListener(DataListener) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
 
animationTimer - Variable in class pl.polsl.rtsa.controller.MainController
 
api - Variable in class pl.polsl.rtsa.controller.MainController
 
App - Class in pl.polsl.rtsa
JavaFX application entry point for the JSignalAnalysis real-time FFT analyzer.
App() - Constructor for class pl.polsl.rtsa.App
 
AppConfig - Class in pl.polsl.rtsa.config
Singleton configuration manager for the application.
AppConfig() - Constructor for class pl.polsl.rtsa.config.AppConfig
 
applyHammingWindow(double[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Applies a Hamming Window to the data array in-place.
applyMovingAverage(double[], int) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Applies a simple moving average filter for smoothing.
autoCheck - Variable in class pl.polsl.rtsa.controller.MainController
 
autoscaler - Variable in class pl.polsl.rtsa.controller.MainController
 
Autoscaler - Class in pl.polsl.rtsa.controller
Automatic Y-axis scaler for the oscilloscope and FFT views.
Autoscaler() - Constructor for class pl.polsl.rtsa.controller.Autoscaler
 
autoscaling() - Method in class pl.polsl.rtsa.controller.MainController
Recomputes voltage and magnitude ranges from the current signal data when the autoscale checkbox is selected.
AvailablePorts - Record Class in pl.polsl.rtsa.api.dto
Data Transfer Object for available serial ports.
AvailablePorts(List<String>, long) - Constructor for record class pl.polsl.rtsa.api.dto.AvailablePorts
Creates an instance of a AvailablePorts record class.
AXIS_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
AXIS_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 

B

BG_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
BG_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
bufferSize - Variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
The field for the bufferSize record component.
bufferSize() - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Returns the value of the bufferSize record component.
build() - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Builds an immutable SignalStatistics from the current builder state.
builder() - Static method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Builder for constructing SignalStatistics.
Builder() - Constructor for class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 

C

cachedFFT - Variable in class pl.polsl.rtsa.service.SignalProcessingService
 
cachedFFTSize - Variable in class pl.polsl.rtsa.service.SignalProcessingService
 
cachedPorts - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
cachedWindow - Variable in class pl.polsl.rtsa.service.SignalProcessingService
 
cachedWindowSize - Variable in class pl.polsl.rtsa.service.SignalProcessingService
 
calculate(double, double, int) - Static method in class pl.polsl.rtsa.controller.GridCalculator
Calculate grid lines for a given visible range.
calculateRMS(double[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Calculates the Root Mean Square (RMS) of the signal.
changeSamplingFreq(ActionEvent) - Method in class pl.polsl.rtsa.controller.MainController
Handles sample-rate combo box changes — sends the appropriate rate command to the hardware.
checkConnected() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
checkNotShutdown() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
clamp(double, double, double) - Static method in class pl.polsl.rtsa.controller.FFTDomainRen
Clamps v to the range [lo, hi].
clamp(double, double, double) - Static method in class pl.polsl.rtsa.controller.TimeDomainRen
Clamps v to the range [lo, hi].
COMMUNICATION_ERROR - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Serial communication error
computeFFT(double[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Computes the Magnitude Spectrum of the signal using FFT.
computeFFT(double[], double) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Computes FFT for the given voltage data.
computeFFT(double[], double) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
computeFrequencyAxis(int, double) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Calculates the frequency axis values for FFT output.
computeStatistics(double[], double[], double) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Computes signal statistics for the given data.
computeStatistics(double[], double[], double) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
computeStatistics(double[], double[], double) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Computes comprehensive signal statistics.
config - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
config - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
config - Variable in class pl.polsl.rtsa.service.SignalProcessingService
 
CONFIG_FILE - Static variable in class pl.polsl.rtsa.config.AppConfig
 
CONFIGURATION_ERROR - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Configuration error
Configuration Categories: - Search tag in class pl.polsl.rtsa.config.AppConfig
Section
connect(String) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Connects to a device on the specified port.
connect(String) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
connect(String) - Method in interface pl.polsl.rtsa.hardware.DeviceClient
Establishes a connection to the specified port.
connect(String) - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Establishes a connection to the specified port.
connect(String) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
 
connectButton - Variable in class pl.polsl.rtsa.controller.MainController
 
connected - Variable in record class pl.polsl.rtsa.api.dto.ConnectionStatus
The field for the connected record component.
connected - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
connected() - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Returns the value of the connected record component.
connected(String, String) - Static method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Creates a connected status.
connectedPort - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
CONNECTION_FAILED - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Device connection failed
connectionCallback - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
ConnectionException - Exception Class in pl.polsl.rtsa.api.exception
Exception thrown when connection-related errors occur.
ConnectionException(String) - Constructor for exception class pl.polsl.rtsa.api.exception.ConnectionException
Creates a connection exception with DeviceException.ErrorCode.CONNECTION_FAILED.
ConnectionException(String, Throwable) - Constructor for exception class pl.polsl.rtsa.api.exception.ConnectionException
Creates a connection exception with DeviceException.ErrorCode.CONNECTION_FAILED and a cause.
ConnectionException(DeviceException.ErrorCode, String) - Constructor for exception class pl.polsl.rtsa.api.exception.ConnectionException
Creates a connection exception with a specific error code.
ConnectionException(DeviceException.ErrorCode, String, Throwable) - Constructor for exception class pl.polsl.rtsa.api.exception.ConnectionException
Creates a connection exception with a specific error code and cause.
connectionStatus - Variable in class pl.polsl.rtsa.controller.MainController
 
ConnectionStatus - Record Class in pl.polsl.rtsa.api.dto
Data Transfer Object representing the connection state.
ConnectionStatus(boolean, String, String) - Constructor for record class pl.polsl.rtsa.api.dto.ConnectionStatus
Creates an instance of a ConnectionStatus record class.
ConsoleTester - Class in pl.polsl.rtsa
A console diagnostic tool for the Signal Analysis hardware.
ConsoleTester() - Constructor for class pl.polsl.rtsa.ConsoleTester
 
controller - Variable in class pl.polsl.rtsa.App
Reference to the main UI controller for lifecycle management.
convertToDecibels(double[], double) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Converts magnitude to decibels (dB) with floor limiting.
convertToVoltage(int[]) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Converts raw ADC values to voltage.
convertToVoltage(int[]) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
convertToVoltage(int[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Converts raw ADC values (0-1023) to voltage levels (0.0-5.0V).
count - Variable in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
The field for the count record component.
count() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Returns the number of available ports.
count() - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Returns the value of the count record component.
create() - Static method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Creates a new API instance with real hardware support.
createMock() - Static method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Creates a new API instance with mock hardware for testing.
CROSSHAIR_COLOR - Static variable in class pl.polsl.rtsa.controller.CursorOverlay
 
currentSampleRate - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
currentSampleRate - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
cursorActive - Variable in class pl.polsl.rtsa.controller.MainController
 
cursorOverlay - Variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
CursorOverlay - Class in pl.polsl.rtsa.controller
Draws interactive cursor overlays on the time-domain plot.
CursorOverlay() - Constructor for class pl.polsl.rtsa.controller.CursorOverlay
 
cursorX - Variable in class pl.polsl.rtsa.controller.MainController
 
cursorY - Variable in class pl.polsl.rtsa.controller.MainController
 

D

dataCallback - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
DataListener - Interface in pl.polsl.rtsa.hardware
Listener interface for receiving asynchronous data and error events from the DeviceClient.
dcOffset - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
dcOffset - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the dcOffset record component.
dcOffset() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the dcOffset record component.
dcOffset(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the DC offset (mean voltage) value.
defaultConfig() - Static method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Creates default acquisition configuration.
deviceClient - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
DeviceClient - Interface in pl.polsl.rtsa.hardware
Interface defining the contract for communicating with the signal analysis hardware.
DeviceCommand - Enum Class in pl.polsl.rtsa.model
Represents the commands that can be sent to the hardware device.
DeviceCommand() - Constructor for enum class pl.polsl.rtsa.model.DeviceCommand
 
DeviceException - Exception Class in pl.polsl.rtsa.api.exception
Base exception for all device-related errors.
DeviceException(DeviceException.ErrorCode, String) - Constructor for exception class pl.polsl.rtsa.api.exception.DeviceException
 
DeviceException(DeviceException.ErrorCode, String, Throwable) - Constructor for exception class pl.polsl.rtsa.api.exception.DeviceException
 
DeviceException.ErrorCode - Enum Class in pl.polsl.rtsa.api.exception
Error codes for categorizing device exceptions.
deviceInfo - Variable in record class pl.polsl.rtsa.api.dto.ConnectionStatus
The field for the deviceInfo record component.
deviceInfo - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
deviceInfo() - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Returns the value of the deviceInfo record component.
disconnect() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Disconnects from the currently connected device.
disconnect() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
disconnect() - Method in interface pl.polsl.rtsa.hardware.DeviceClient
Closes the active connection and releases resources.
disconnect() - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Closes the active connection and releases resources.
disconnect() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
 
disconnected() - Static method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Creates a disconnected status.
dominantFreq - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
dominantFreq - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the dominantFreq record component.
dominantFreq() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the dominantFreq record component.
dominantFreq(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the dominant frequency value in Hz.
dominantFreqLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
dominantFreqMag - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
dominantFreqMag - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the dominantFreqMag record component.
dominantFreqMag() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the dominantFreqMag record component.
dominantFreqMag(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the magnitude of the dominant frequency component.
DOT_COLOR - Static variable in class pl.polsl.rtsa.controller.CursorOverlay
 
downsampleForDisplay(double[], int) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Downsamples data for display purposes.
draw(GraphicsContext, double[], double, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Draw the FFT magnitude spectrum.
draw(GraphicsContext, double[], double, double, double, double, double, double, double, boolean, double, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draw without trigger line (backward compatible).
draw(GraphicsContext, double[], double, double, double, double, double, double, double, boolean, double, double, boolean, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draw with optional trigger threshold line.
drawAll(SignalData) - Method in class pl.polsl.rtsa.controller.MainController
Draws the time-domain and (optionally) FFT canvases for the given data.
drawBorder(GraphicsContext, double, double) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Draws the plot-area border rectangle.
drawBorder(GraphicsContext, double, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draws the plot-area border rectangle.
drawCrosshair(GraphicsContext, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.CursorOverlay
Draws a dashed crosshair (horizontal + vertical) through the given point.
drawEmpty(GraphicsContext, double, double) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Draw empty canvas with default grid and placeholder.
drawEmpty(GraphicsContext, double, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draw an empty canvas with grid and placeholder text.
drawGrid(GraphicsContext, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Draws magnitude (Y) and frequency (X) grid lines with labels.
drawGrid(GraphicsContext, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draws voltage (Y) and time (X) grid lines with labels.
drawPlaceholder(GraphicsContext, double, double, String) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Draws centred placeholder text when no FFT data is available.
drawPlaceholder(GraphicsContext, double, double, String) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Draws centred placeholder text when no signal data is available.
drawSignal(GraphicsContext, double[], double, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Renders the voltage waveform polyline, downsampled to at most TimeDomainRen.MAX_POINTS screen points.
drawSpectrum(GraphicsContext, double[], double, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Render the FFT magnitude trace.
drawTimeDomain(GraphicsContext, double[], double, double, double, double, double, double, double, double, double, double, double) - Method in class pl.polsl.rtsa.controller.CursorOverlay
Draw cursor overlay on the time-domain canvas.
drawTooltip(GraphicsContext, double, double, double, double, double, double, String, String) - Method in class pl.polsl.rtsa.controller.CursorOverlay
Draws a semi-transparent tooltip box with two text lines, clamped inside the plot area.
dspService - Static variable in class pl.polsl.rtsa.ConsoleTester
 
dspService - Variable in class pl.polsl.rtsa.hardware.MockDeviceClient
DSP service used for FFT computation on the generated data.
dspService - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 

E

empty() - Static method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Creates an empty ports list with timestamp = 0 to force refresh on first use.
empty() - Static method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Creates empty/zero statistics.
equals(Object) - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.api.dto.SignalData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class pl.polsl.rtsa.model.SignalResult
Indicates whether some other object is "equal to" this one.
errorCallback - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
errorCode - Variable in exception class pl.polsl.rtsa.api.exception.DeviceException
 
ErrorCode() - Constructor for enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
 
ErrorHandler - Class in pl.polsl.rtsa.controller
Unified error handler for the UI layer.
ErrorHandler() - Constructor for class pl.polsl.rtsa.controller.ErrorHandler
 

F

fftCanvas - Variable in class pl.polsl.rtsa.controller.MainController
 
FFTCheck - Variable in class pl.polsl.rtsa.controller.MainController
 
fftContainer - Variable in class pl.polsl.rtsa.controller.MainController
 
FFTDomainRen - Class in pl.polsl.rtsa.controller
Renders the FFT magnitude spectrum with: Grid lines at "nice" frequency and magnitude intervals Frequency (X) and magnitude (Y) axis labels Zoom-aware rendering via explicit visible-range parameters Correct bin→Hz mapping: f = bin × (sampleRate / (2 × N))
FFTDomainRen() - Constructor for class pl.polsl.rtsa.controller.FFTDomainRen
 
fftRenderer - Variable in class pl.polsl.rtsa.controller.MainController
 
fftSection - Variable in class pl.polsl.rtsa.controller.MainController
 
FFTVisualization(ActionEvent) - Method in class pl.polsl.rtsa.controller.MainController
Toggles the FFT spectrum panel visibility based on the FFT checkbox state.
fftZoomX - Variable in class pl.polsl.rtsa.controller.MainController
 
fftZoomXLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
fftZoomY - Variable in class pl.polsl.rtsa.controller.MainController
 
fftZoomYLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
findRisingEdge(double[], double) - Static method in class pl.polsl.rtsa.controller.TriggerDetector
Find the first rising-edge crossing of threshold in samples.
findRisingEdge(double[], double, int, int) - Static method in class pl.polsl.rtsa.controller.TriggerDetector
Find the first rising-edge crossing within a bounded search range.
formatFrequency(double, double) - Static method in class pl.polsl.rtsa.controller.GridCalculator
Format a frequency value with the most readable unit (Hz, kHz).
formatTime(double, double) - Static method in class pl.polsl.rtsa.controller.GridCalculator
Format a time value with the most readable unit (s, ms, µs).
formatValue(double, double) - Static method in class pl.polsl.rtsa.controller.GridCalculator
Format a numeric value with precision appropriate for the grid step.
FRAME_INTERVAL - Static variable in class pl.polsl.rtsa.controller.MainController
 
FreezeCheck - Variable in class pl.polsl.rtsa.controller.MainController
 
freqDomainData - Variable in record class pl.polsl.rtsa.api.dto.SignalData
The field for the freqDomainData record component.
freqDomainData - Variable in record class pl.polsl.rtsa.model.SignalResult
The field for the freqDomainData record component.
freqDomainData() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the value of the freqDomainData record component.
freqDomainData() - Method in record class pl.polsl.rtsa.model.SignalResult
Returns the value of the freqDomainData record component.

G

generatorThread - Variable in class pl.polsl.rtsa.hardware.MockDeviceClient
Background thread that produces synthetic samples.
getAcquisitionConfig() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Gets the current acquisition configuration.
getAcquisitionConfig() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
getAdcResolution() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the ADC resolution (max value + 1).
getAllProperties() - Method in class pl.polsl.rtsa.config.AppConfig
Gets all loaded properties for debugging.
getAutoResetDelay() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the delay after connection for Arduino auto-reset.
getAvailablePorts() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Gets the list of available serial ports.
getAvailablePorts() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
getAvailablePorts() - Method in interface pl.polsl.rtsa.hardware.DeviceClient
Retrieves a list of currently available serial ports on the system.
getAvailablePorts() - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Retrieves a list of currently available serial ports on the system.
getAvailablePorts() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
 
getBaudRate() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the UART baud rate.
getBooleanProperty(String, boolean) - Method in class pl.polsl.rtsa.config.AppConfig
Gets a boolean property with a default value.
getBufferSize() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the ring buffer size in samples.
getConnectionStatus() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Gets the current connection status.
getConnectionStatus() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
getCurrentSampleRate() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Gets the current sample rate.
getCurrentSampleRate() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
getDoubleProperty(String, double) - Method in class pl.polsl.rtsa.config.AppConfig
Gets a double property with a default value.
getDurationSeconds() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the duration of the time-domain data in seconds.
getErrorCode() - Method in exception class pl.polsl.rtsa.api.exception.DeviceException
 
getFrequencyBinCount() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the number of frequency bins.
getFrequencyResolution() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the frequency resolution of the FFT (Hz per bin).
getInstance() - Static method in class pl.polsl.rtsa.config.AppConfig
Gets the singleton configuration instance.
getIntProperty(String, int) - Method in class pl.polsl.rtsa.config.AppConfig
Gets an integer property with a default value.
getLastSignalData() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Gets the last received signal data.
getLastSignalData() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
getLogLevel() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the configured log level.
getMinFftSize() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the minimum FFT size.
getNyquistFrequency() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the maximum representable frequency (Nyquist frequency).
getReadTimeout() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the serial read timeout in milliseconds.
getSampleCount() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the number of samples in the time domain.
getSampleRate() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the default sample rate in Hz.
getStringProperty(String, String) - Method in class pl.polsl.rtsa.config.AppConfig
Gets a string property with a default value.
getTargetFps() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the target UI refresh rate.
getUserMessage(Exception) - Static method in class pl.polsl.rtsa.controller.ErrorHandler
Converts exception to user-friendly Polish message.
getVRef() - Method in class pl.polsl.rtsa.config.AppConfig
Gets the ADC reference voltage.
getWindowCoefficients(int) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Gets or computes Hamming window coefficients.
GRID_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
GRID_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
GRID_DIVISIONS - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
GRID_DIVISIONS - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
GridCalculator - Class in pl.polsl.rtsa.controller
Utility for calculating grid line positions for plot axes.
GridCalculator() - Constructor for class pl.polsl.rtsa.controller.GridCalculator
 
GridCalculator.GridInfo - Record Class in pl.polsl.rtsa.controller
Computed grid information.
gridCheck - Variable in class pl.polsl.rtsa.controller.MainController
 
GridInfo(double, double, int) - Constructor for record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Creates an instance of a GridInfo record class.

H

handle(Exception, Label) - Static method in class pl.polsl.rtsa.controller.ErrorHandler
Handles any exception, updating the status label appropriately.
handleConnect(ActionEvent) - Method in class pl.polsl.rtsa.controller.MainController
Handles the “Connect” button press — attempts to connect to the serial port selected in MainController.portComboBox.
handleStart(ActionEvent) - Method in class pl.polsl.rtsa.controller.MainController
Handles the Start/Stop toggle button — starts or stops data acquisition and updates the button label accordingly.
HANDSHAKE_FAILED - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Handshake with device failed
hasAvailablePorts() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Checks if any ports are available.
hashCode() - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Returns a hash code value for this object.
hashCode() - Method in record class pl.polsl.rtsa.model.SignalResult
Returns a hash code value for this object.
headIndex - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
hookCanvasToPane(Canvas, Pane) - Method in class pl.polsl.rtsa.controller.MainController
Binds a Canvas size to its parent Pane so the canvas resizes automatically when the window layout changes.

I

initialize() - Method in class pl.polsl.rtsa.controller.MainController
FXML initialisation hook — called automatically after all @FXML fields have been injected.
INSTANCE - Static variable in class pl.polsl.rtsa.config.AppConfig
 
INVALID_PORT - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Invalid port specified
isAcquiring() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Checks if acquisition is currently active.
isAcquiring() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
isConnected() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Checks if a device is currently connected.
isConnected() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
isProcessing - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
isRunning - Variable in class pl.polsl.rtsa.controller.MainController
 
isShutdown() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Checks if the API has been shut down.
isShutdown() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
isUseMock() - Method in class pl.polsl.rtsa.config.AppConfig
Gets whether to use mock device for testing.

L

LABEL_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
LABEL_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
lastFrameTime - Variable in class pl.polsl.rtsa.controller.MainController
 
lastRefreshTime - Variable in record class pl.polsl.rtsa.api.dto.AvailablePorts
The field for the lastRefreshTime record component.
lastRefreshTime() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Returns the value of the lastRefreshTime record component.
lastSignalData - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
lastSignalData - Variable in class pl.polsl.rtsa.controller.MainController
 
listeners - Variable in class pl.polsl.rtsa.hardware.MockDeviceClient
Registered data/error listeners.
listeners - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
loadProperties() - Method in class pl.polsl.rtsa.config.AppConfig
 
logger - Static variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
logger - Static variable in class pl.polsl.rtsa.config.AppConfig
 
logger - Static variable in class pl.polsl.rtsa.ConsoleTester
 
logger - Static variable in class pl.polsl.rtsa.controller.ErrorHandler
 
logger - Static variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
logger - Static variable in class pl.polsl.rtsa.service.SignalProcessingService
 

M

magnitudeMax - Variable in class pl.polsl.rtsa.controller.MainController
 
main(String[]) - Static method in class pl.polsl.rtsa.App
Application entry point — delegates to
invalid reference
Application#launch()
.
main(String[]) - Static method in class pl.polsl.rtsa.ConsoleTester
Main entry point for the diagnostic tool.
MainController - Class in pl.polsl.rtsa.controller
Main JavaFX controller for the JSignalAnalysis UI.
MainController() - Constructor for class pl.polsl.rtsa.controller.MainController
 
MAX_POINTS - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
MAX_POINTS - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
maxVoltage - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
maxVoltage - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the maxVoltage record component.
maxVoltage() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the maxVoltage record component.
maxVoltage(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the maximum voltage value.
MB - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
MB - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
MIN_FFT_SIZE - Static variable in class pl.polsl.rtsa.service.SignalProcessingService
Minimum FFT size for adequate frequency resolution
MIN_FREQ_THRESHOLD - Static variable in class pl.polsl.rtsa.service.SignalProcessingService
Minimum frequency threshold to skip DC leakage (Hz)
minVoltage - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
minVoltage - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the minVoltage record component.
minVoltage() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the minVoltage record component.
minVoltage(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the minimum voltage value.
ML - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
ML - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
MockDeviceClient - Class in pl.polsl.rtsa.hardware
Mock implementation of DeviceClient for off-line testing.
MockDeviceClient() - Constructor for class pl.polsl.rtsa.hardware.MockDeviceClient
 
MR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
MR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
MT - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
MT - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 

N

needsRedraw - Variable in class pl.polsl.rtsa.controller.MainController
 
newDataAvailable - Variable in class pl.polsl.rtsa.controller.MainController
 
niceNumber(double) - Static method in class pl.polsl.rtsa.controller.GridCalculator
Round to the nearest number in the 1–2–5 decade sequence.
normalizeMagnitude(double[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Normalizes FFT magnitude data for display.
NOT_CONNECTED - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Device not connected when operation requires connection
notifyConnectionChange() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
notifyError(String) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Dispatches an error message to all registered listeners.
notifyListeners(SignalResult) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Dispatches a SignalResult to all registered listeners.

O

onConnectionChange(ConnectionStatus) - Method in class pl.polsl.rtsa.controller.MainController
API connection-state callback — updates the status label colour and text.
onError(String) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
onError(String) - Method in class pl.polsl.rtsa.controller.MainController
API error callback — displays the error message in the status label.
onError(String) - Method in interface pl.polsl.rtsa.hardware.DataListener
Called when an error occurs within the device client.
onNewData(SignalResult) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
onNewData(SignalResult) - Method in interface pl.polsl.rtsa.hardware.DataListener
Called when a new batch of signal data is available.
onSignalData(SignalData) - Method in class pl.polsl.rtsa.controller.MainController
API data callback — stores the latest signal data for the next render frame unless the display is frozen.
oscilloscopeCanvas - Variable in class pl.polsl.rtsa.controller.MainController
 

P

PADDING_FACTOR - Static variable in class pl.polsl.rtsa.controller.Autoscaler
Padding percentage to add above/below the signal (0.1 = 10%).
peakToPeak - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
peakToPeak - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the peakToPeak record component.
peakToPeak() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the peakToPeak record component.
peakToPeak(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the peak-to-peak voltage value.
performHandshake() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Performs a handshake with the device to verify protocol compatibility.
pl.polsl.rtsa - module pl.polsl.rtsa
JSignalAnalysis — a real-time signal analysis and FFT visualisation tool.
pl.polsl.rtsa - package pl.polsl.rtsa
 
pl.polsl.rtsa.api - package pl.polsl.rtsa.api
 
pl.polsl.rtsa.api.dto - package pl.polsl.rtsa.api.dto
 
pl.polsl.rtsa.api.exception - package pl.polsl.rtsa.api.exception
 
pl.polsl.rtsa.config - package pl.polsl.rtsa.config
 
pl.polsl.rtsa.controller - package pl.polsl.rtsa.controller
 
pl.polsl.rtsa.hardware - package pl.polsl.rtsa.hardware
 
pl.polsl.rtsa.model - package pl.polsl.rtsa.model
 
pl.polsl.rtsa.service - package pl.polsl.rtsa.service
 
plotArea - Variable in class pl.polsl.rtsa.controller.MainController
 
PORT_BUSY - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Port is already in use
portComboBox - Variable in class pl.polsl.rtsa.controller.MainController
 
portName - Variable in record class pl.polsl.rtsa.api.dto.ConnectionStatus
The field for the portName record component.
portName() - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Returns the value of the portName record component.
ports - Variable in record class pl.polsl.rtsa.api.dto.AvailablePorts
The field for the ports record component.
ports() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Returns the value of the ports record component.
processBuffer(int[]) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Converts raw ADC data to voltage, computes the FFT, and notifies all registered listeners with a SignalResult.
processingExecutor - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
processingService - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
properties - Static variable in class pl.polsl.rtsa.config.AppConfig
 

R

RATE_10KHZ - Static variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Predefined sample rate: 10 kHz
RATE_1KHZ - Static variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Predefined sample rate: 1 kHz
RATE_20KHZ - Static variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Predefined sample rate: 20 kHz (Turbo Mode)
readerThread - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
readLoop() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Main read loop — runs on the reader thread.
RealDeviceClient - Class in pl.polsl.rtsa.hardware
Implementation of DeviceClient for the real hardware device via UART.
RealDeviceClient() - Constructor for class pl.polsl.rtsa.hardware.RealDeviceClient
 
recalculateSamplesPerFrame() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Recalculates RealDeviceClient.samplesPerFrame so that UI updates happen at ~30 FPS for the current sample rate.
refreshPorts() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Refreshes the list of available serial ports.
refreshPorts() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
removeDCOffset(double[]) - Method in class pl.polsl.rtsa.service.SignalProcessingService
Removes DC offset from the signal.
renderFrame() - Method in class pl.polsl.rtsa.controller.MainController
Renders a single frame — invoked from the AnimationTimer.
Render Pipeline: - Search tag in class pl.polsl.rtsa.controller.MainController
Section
ringBuffer - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
rmsVoltage - Variable in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
 
rmsVoltage - Variable in record class pl.polsl.rtsa.api.dto.SignalStatistics
The field for the rmsVoltage record component.
rmsVoltage() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns the value of the rmsVoltage record component.
rmsVoltage(double) - Method in class pl.polsl.rtsa.api.dto.SignalStatistics.Builder
Sets the RMS voltage value.
running - Variable in class pl.polsl.rtsa.hardware.MockDeviceClient
Flag indicating whether the generator thread is active.
running - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 

S

sampleRate - Variable in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
The field for the sampleRate record component.
sampleRate - Variable in record class pl.polsl.rtsa.api.dto.SignalData
The field for the sampleRate record component.
sampleRate - Variable in class pl.polsl.rtsa.hardware.MockDeviceClient
Current sample rate in Hz.
sampleRate - Variable in record class pl.polsl.rtsa.model.SignalResult
The field for the sampleRate record component.
sampleRate() - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Returns the value of the sampleRate record component.
sampleRate() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the value of the sampleRate record component.
sampleRate() - Method in record class pl.polsl.rtsa.model.SignalResult
Returns the value of the sampleRate record component.
samplesPerFrame - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
samplesSinceLastUpdate - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
samplingFreq - Variable in class pl.polsl.rtsa.controller.MainController
 
scaleFFT(double[]) - Method in class pl.polsl.rtsa.controller.Autoscaler
Computes a padded magnitude ceiling for the FFT display.
scaleTime(double[]) - Method in class pl.polsl.rtsa.controller.Autoscaler
Computes a padded voltage range for the time-domain display.
scene - Static variable in class pl.polsl.rtsa.App
The primary scene shared across the application.
sendCommand(DeviceCommand) - Method in interface pl.polsl.rtsa.hardware.DeviceClient
Sends a command to the connected device.
sendCommand(DeviceCommand) - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Sends a command to the connected device.
sendCommand(DeviceCommand) - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
 
serialPort - Variable in class pl.polsl.rtsa.hardware.RealDeviceClient
 
SET_RATE_10KHZ - Enum constant in enum class pl.polsl.rtsa.model.DeviceCommand
Sets the sampling rate to 10 kHz.
SET_RATE_1KHZ - Enum constant in enum class pl.polsl.rtsa.model.DeviceCommand
Sets the sampling rate to 1 kHz.
SET_RATE_20KHZ - Enum constant in enum class pl.polsl.rtsa.model.DeviceCommand
Sets the sampling rate to 20 kHz.
setConnectionCallback(Consumer<ConnectionStatus>) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the callback for connection state changes.
setConnectionCallback(Consumer<ConnectionStatus>) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setDataCallback(Consumer<SignalData>) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the callback for receiving signal data updates.
setDataCallback(Consumer<SignalData>) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setErrorCallback(Consumer<String>) - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the callback for receiving error notifications.
setErrorCallback(Consumer<String>) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setSampleRate(DeviceCommand, double) - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setSampleRate10kHz() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the sample rate to 10 kHz.
setSampleRate10kHz() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setSampleRate1kHz() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the sample rate to 1 kHz.
setSampleRate1kHz() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setSampleRate20kHz() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Sets the sample rate to 20 kHz (Turbo Mode).
setSampleRate20kHz() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
setShowGrid(boolean) - Method in class pl.polsl.rtsa.controller.FFTDomainRen
Toggles grid-line rendering.
setShowGrid(boolean) - Method in class pl.polsl.rtsa.controller.TimeDomainRen
Toggles grid-line rendering.
showGrid - Variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
showGrid - Variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
shutdown - Variable in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
shutdown() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Shuts down the API and releases all resources.
shutdown() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
shutdown() - Method in class pl.polsl.rtsa.controller.MainController
Shuts down the render loop and the backend API.
SIGNAL_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
SIGNAL_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
SignalAnalyzerApi - Interface in pl.polsl.rtsa.api
Main API interface for the Signal Analyzer backend.
SignalAnalyzerApiImpl - Class in pl.polsl.rtsa.api
Production implementation of the SignalAnalyzerApi.
SignalAnalyzerApiImpl(boolean) - Constructor for class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
Creates a new API implementation.
SignalData - Record Class in pl.polsl.rtsa.api.dto
Data Transfer Object representing a complete signal analysis result.
SignalData(Instant, double[], double[], double, SignalStatistics) - Constructor for record class pl.polsl.rtsa.api.dto.SignalData
Creates an instance of a SignalData record class.
SignalProcessingService - Class in pl.polsl.rtsa.service
Service responsible for Digital Signal Processing (DSP) operations.
SignalProcessingService() - Constructor for class pl.polsl.rtsa.service.SignalProcessingService
Creates a new SignalProcessingService with default configuration.
SignalProcessingService(AppConfig) - Constructor for class pl.polsl.rtsa.service.SignalProcessingService
Creates a new SignalProcessingService with custom configuration.
SignalResult - Record Class in pl.polsl.rtsa.model
A record representing a snapshot of signal data.
SignalResult(double[], double[], double) - Constructor for record class pl.polsl.rtsa.model.SignalResult
Creates an instance of a SignalResult record class.
SignalStatistics - Record Class in pl.polsl.rtsa.api.dto
Data Transfer Object containing pre-computed signal statistics.
SignalStatistics(double, double, double, double, double, double, double) - Constructor for record class pl.polsl.rtsa.api.dto.SignalStatistics
Creates an instance of a SignalStatistics record class.
SignalStatistics.Builder - Class in pl.polsl.rtsa.api.dto
Mutable builder for constructing SignalStatistics instances.
SNAP_DISTANCE - Static variable in class pl.polsl.rtsa.controller.CursorOverlay
 
start - Variable in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
The field for the start record component.
start() - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Returns the value of the start record component.
start(Stage) - Method in class pl.polsl.rtsa.App
Initialises the primary stage with the FXML layout and dark theme.
START_ACQUISITION - Enum constant in enum class pl.polsl.rtsa.model.DeviceCommand
Starts the data acquisition process.
startAcquisition() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Starts data acquisition.
startAcquisition() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 
startGenerating() - Method in class pl.polsl.rtsa.hardware.MockDeviceClient
Spawns a background thread that produces synthetic 50 Hz sine-wave batches with additive noise and dispatches them to all listeners.
startReading() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Spawns the daemon reader thread that decodes the serial byte stream.
startRenderLoop() - Method in class pl.polsl.rtsa.controller.MainController
Creates and starts the AnimationTimer that drives the render loop at approximately 30 FPS.
statistics - Variable in record class pl.polsl.rtsa.api.dto.SignalData
The field for the statistics record component.
statistics() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the value of the statistics record component.
step - Variable in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
The field for the step record component.
step() - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Returns the value of the step record component.
stop() - Method in class pl.polsl.rtsa.App
Gracefully shuts down the controller and forces JVM exit.
STOP_ACQUISITION - Enum constant in enum class pl.polsl.rtsa.model.DeviceCommand
Stops the data acquisition process.
stopAcquisition() - Method in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Stops data acquisition.
stopAcquisition() - Method in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
 

T

Thread Safety: - Search tag in class pl.polsl.rtsa.api.SignalAnalyzerApiImpl
Section
Thread Safety: - Search tag in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Section
timeContainer - Variable in class pl.polsl.rtsa.controller.MainController
 
timeDomainData - Variable in record class pl.polsl.rtsa.api.dto.SignalData
The field for the timeDomainData record component.
timeDomainData - Variable in record class pl.polsl.rtsa.model.SignalResult
The field for the timeDomainData record component.
timeDomainData() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the value of the timeDomainData record component.
timeDomainData() - Method in record class pl.polsl.rtsa.model.SignalResult
Returns the value of the timeDomainData record component.
TimeDomainRen - Class in pl.polsl.rtsa.controller
Renders the time-domain oscilloscope view with: Grid lines at "nice" voltage and time intervals via GridCalculator Voltage (Y) and time (X) axis labels Zoom-aware rendering via explicit visible-range parameters Optional trigger threshold line Cursor overlay with snap-to-signal support via CursorOverlay
TimeDomainRen() - Constructor for class pl.polsl.rtsa.controller.TimeDomainRen
 
TIMEOUT - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Device timeout
timeRenderer - Variable in class pl.polsl.rtsa.controller.MainController
 
timeSection - Variable in class pl.polsl.rtsa.controller.MainController
 
timestamp - Variable in record class pl.polsl.rtsa.api.dto.SignalData
The field for the timestamp record component.
timestamp() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns the value of the timestamp record component.
timeZoomX - Variable in class pl.polsl.rtsa.controller.MainController
 
timeZoomXLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
timeZoomY - Variable in class pl.polsl.rtsa.controller.MainController
 
timeZoomYLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
TITLE_COLOR - Static variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
TITLE_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
toggleButtonStart - Variable in class pl.polsl.rtsa.controller.MainController
 
TOOLTIP_BG - Static variable in class pl.polsl.rtsa.controller.CursorOverlay
 
TOOLTIP_TEXT - Static variable in class pl.polsl.rtsa.controller.CursorOverlay
 
toString() - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Returns a string representation of this record class.
toString() - Method in record class pl.polsl.rtsa.api.dto.AvailablePorts
Returns a string representation of this record class.
toString() - Method in record class pl.polsl.rtsa.api.dto.ConnectionStatus
Returns a string representation of this record class.
toString() - Method in record class pl.polsl.rtsa.api.dto.SignalData
Returns a string representation of this record class.
toString() - Method in record class pl.polsl.rtsa.api.dto.SignalStatistics
Returns a string representation of this record class.
toString() - Method in class pl.polsl.rtsa.config.AppConfig
 
toString() - Method in record class pl.polsl.rtsa.controller.GridCalculator.GridInfo
Returns a string representation of this record class.
toString() - Method in record class pl.polsl.rtsa.model.SignalResult
Returns a string representation of this record class.
TRIGGER_COLOR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
triggerCheck - Variable in class pl.polsl.rtsa.controller.MainController
 
TriggerDetector - Class in pl.polsl.rtsa.controller
Rising-edge trigger for the oscilloscope view.
TriggerDetector() - Constructor for class pl.polsl.rtsa.controller.TriggerDetector
 
triggerLevel - Variable in class pl.polsl.rtsa.controller.MainController
 
triggerLevelLabel - Variable in class pl.polsl.rtsa.controller.MainController
 
triggerRangeInitialized - Variable in class pl.polsl.rtsa.controller.MainController
Whether the trigger slider range has been initialised from autoscale data.
triggerStatusLabel - Variable in class pl.polsl.rtsa.controller.MainController
 

U

UNKNOWN - Enum constant in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Unknown/unexpected error
updateLabels(SignalData) - Method in class pl.polsl.rtsa.controller.MainController
Refreshes the on-screen statistics labels (Vmax, Vmin, RMS, f0) from the given signal data.
updateTriggerSliderRange(double, double) - Method in class pl.polsl.rtsa.controller.MainController
Updates the trigger-level slider's min/max to match the current autoscaled voltage range.
updateUI() - Method in class pl.polsl.rtsa.hardware.RealDeviceClient
Snapshots the most recent samples from the ring buffer and submits them to the DSP executor for voltage conversion, FFT, and listener dispatch.
Usage Example: - Search tag in interface pl.polsl.rtsa.api.SignalAnalyzerApi
Section

V

valueOf(String) - Static method in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class pl.polsl.rtsa.model.DeviceCommand
Returns the enum constant of this class with the specified name.
values() - Static method in enum class pl.polsl.rtsa.api.exception.DeviceException.ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class pl.polsl.rtsa.model.DeviceCommand
Returns an array containing the constants of this enum class, in the order they are declared.
Vmax - Variable in class pl.polsl.rtsa.controller.MainController
 
Vmin - Variable in class pl.polsl.rtsa.controller.MainController
 
voltageMax - Variable in class pl.polsl.rtsa.controller.MainController
 
voltageMin - Variable in class pl.polsl.rtsa.controller.MainController
 
Vrms - Variable in class pl.polsl.rtsa.controller.MainController
 

W

windowAroundTrigger(int, int, int) - Static method in class pl.polsl.rtsa.controller.TriggerDetector
Extract the visible window around a trigger point.
withAcquisitionActive(boolean) - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Creates configuration with acquisition state changed.
withSampleRate(double) - Method in record class pl.polsl.rtsa.api.dto.AcquisitionConfig
Creates configuration with specified sample rate.

X

xBuf - Variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
xBuf - Variable in class pl.polsl.rtsa.controller.TimeDomainRen
 

Y

yBuf - Variable in class pl.polsl.rtsa.controller.FFTDomainRen
 
yBuf - Variable in class pl.polsl.rtsa.controller.TimeDomainRen
 

Z

ZERO_LINE_CLR - Static variable in class pl.polsl.rtsa.controller.TimeDomainRen
 
A B C D E F G H I L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form