Files
BD_Fresnel_GUI/CHANGELOG.md
2026-09-30 15:20:31 +00:00

114 lines
5.1 KiB
Markdown

# Changelog
All notable changes to BD Fresnel are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [Unreleased]
## [2.6] - 2026-09-30
### Added
- **Simulation** run mode: a second toggle in the Operation mode box,
offering **Fitting** and **Simulation**. Fitting is the default and
behaves as before.
- Simulation mode, for computing a signal without a measurement:
- No file is imported. **Import...** and the data column and
delimiter fields are disabled.
- The delay range is entered as `T_d_min` and `T_d_max` (in `tau_p`)
in the Simulation parameters box. In Fitting mode these are taken
from the imported scan and the fields are disabled.
- Only the calculated curves are plotted, without data markers, and
the plot legend reads **Simulated** rather than Fit.
- The **Fit** button is relabelled **Simulate**, and is enabled by
valid parameters alone rather than by an imported file.
- The export holds the calculated signals on their own delay grid,
with no data columns to pair them with. The parameter log omits the
import path and the data column section.
- The mode combines with the measurement mode: Pump probe and
Simulation together give a single Transmission panel and a
two-column table, as Pump probe does when fitting.
- The run mode is saved with the other settings and recorded in the
parameter log.
### Changed
- The **Mode** box is renamed **Operation mode** and moved to the top of
the parameter panel, above Data columns. The parameter log and status
messages use the new name, and the log records both modes on one line.
- Changing run mode discards the current result, which described the
other mode's delay range or a measurement the new mode does not show.
Switching to Simulation sets the imported scan aside and switching
back reloads it. The run mode cannot be changed while a fit runs.
- `inputs_valid` takes a `require_data` argument, so Simulation can
enable its action button without an imported file. Fitting is
unaffected.
## [2.5] - 2026-09-21
### Added
- **Mode** box, below Data columns: a two-button toggle selecting
**Beam deflection** or **Pump probe**. Beam deflection is the default
and behaves as before.
- Pump probe mode, for measurements with the probe centred on the pump:
- Only the delay and transmission columns are required, so a
two-column scan can be imported. The DeltaEoE column is ignored and
its field disabled.
- `x_0` is fixed at 0 and cannot be edited.
- Only the Transmission plot is displayed and exported. The exported
image is named `<name>_fit_transmission.jpg` / `.svg` and is 3.25 in
wide, a single column. The exported data table holds delay, T (data)
and T (fit).
- The mechanism pull-downs offer the absorptive (NLA) and mixed
(both) mechanisms; a mixed mechanism contributes its absorptive
part. The purely refractive (NLR) mechanisms, which cannot change
the transmission, are excluded. Switching to pump probe empties any
slot holding one; switching back restores it, provided the slot is
still empty.
- The selected mode is saved with the other settings and recorded in the
parameter log.
### Changed
- Changing mode discards the current fit, which was computed with the
other mode's settings, and re-reads the imported file under the new
mode's column requirements. A file the new mode cannot use is cleared
with an explanation, and loaded again on switching back. The mode
cannot be changed while a fit runs.
- The source files carry the GPLv3 notice.
### Fixed
- Values such as `nan`, `inf` or `1e999` are rejected in parameter fields.
They previously turned the fit to NaN, and crashed the mechanism
parameters dialog.
- An invalid entry in a numeric field reverts to its previous value, as the
integer fields and the mechanism dialog already did, instead of becoming 0.
- Every parameter change is saved as it is made. Numeric fields, mechanism
choices and the diagnostics option were previously saved only on Import,
Fit, Export or Exit, so a crash lost them.
- Changing a column number or the delimiter re-reads only a file imported in
the current session. Straight after launch it could load the previous
session's file, or report an error about one that had since moved.
- When a file cannot be read with a new column number or delimiter, its data
and fit are cleared. They previously stayed on screen, and could be
exported, under settings that no longer described them.
- The data columns in use must each be different. Two quantities could
previously be read from the same column without any warning.
- The x tick label at the join between the Transmission and Deflection plots
is hidden when it collides with its neighbour. A rounding error let some
such labels through.
## [2.4] - 2026-09-21
First release recorded in this changelog. Earlier history is not documented
here.
### Fixed
- README parameter tables corrected to match the program's window: the
default T and DeltaEoE data columns were swapped, and several defaults,
labels and descriptions disagreed with what the interface shows.