Repository navigation
engiNIR 1.7.5
Spatial pixel binning of a dataset and tidier menus. The format stays
enginir-1.7; projects without binned datasets are unchanged.
Added
- Spatial pixel binning of a dataset. Add Dataset's Binning (2 × 2,
3 × 3, 4 × 4) andProject.add_dataset(path, binning=k)average k × k
blocks of frames and rows every time the file is read, before the reference
correction. Counts stay counts (the mean is rounded and keeps the file's
integer type), so levels, references, ROIs and models work unchanged on the
binned pixels. Reference frames are frames of the file as stored. A file has
one binning in a project, fixed when it is added. A model records its
binning: a new scan is binned like the model to be predicted, a scan
registered with another binning is refused, and a calibration set mixing
binnings is refused.enginir.io.bin_blocks,bin_rowsand
bin_frame_chunksdo the same on arrays. The format staysenginir-1.7;
the binning is stored only for binned datasets. engiNIR 1.7.4 opens a
project with a binned dataset and refits its models from the stored ROIs,
but refuses its data file (the shape differs) rather than read it unbinned.
Changed
- Menus tidied (plan
plans/menu-polish.md):- File: Open Project is Ctrl+O; Open Data… and Add Dataset… left File
(Project > Add Dataset…, now Ctrl+D); Close Window is gone (Quit
stays); Open Recent lists projects first, then data files. - Edit: Paste (Ctrl+V) next to Copy; Preferences… moved here from
Tools, which is gone. - View: Title Case items; Go To the five steps with Ctrl+1 to
Ctrl+5; "Reset View" as on the image's button. - Project: Rename Dataset… (was Name Dataset…).
- ROI: ROI Grid Defaults… (from Tools), Find ROI… (from Edit), and
Delete deletes the selected ROI on the image or the mosaic. - Predict: Predict Map… on F7.
- Help: User Guide, Keyboard Shortcuts and Report a Problem…;
the log entries of Tools moved here.
- File: Open Project is Ctrl+O; Open Data… and Add Dataset… left File
Removed
- The Band image panel (View > Band image): it showed no more than the
Spatial image.