Skip to content

Feature/replace nan values#30

Merged
ThomasMalletCodra merged 5 commits into
developfrom
feature/replace_nan_values
Jun 11, 2026
Merged

Feature/replace nan values#30
ThomasMalletCodra merged 5 commits into
developfrom
feature/replace_nan_values

Conversation

@ThomasMalletCodra

Copy link
Copy Markdown
Contributor

No description provided.

dappham-CODRA and others added 5 commits March 11, 2026 16:14
	* [ADD] : sigima/enums.py :
		- add ReplacementStrategySignal and ReplacementStrategyImage
		- define replacement modes for NaN, +Inf and -Inf
	* [ADD] : sigima/proc/base.py :
		- add ReplaceSpecialValuesSignalParam and ReplaceSpecialValuesImageParam
		- add per-target parameters for strategy, constant value and neighbor size
	* [ADD] : sigima/proc/signal/processing.py :
		- add replace_special_values for signals
		- support delete, fill, interpolation and neighbor-based strategies
	* [ADD] : sigima/proc/image/exposure.py :
		- add replace_special_values for images
		- support fixed, statistic and neighbor-based strategies
	* [ADD] : sigima/tools/signal/replace_values.py and sigima/tools/image/replace_values.py :
		- add low-level helpers for special value replacement
		- compute statistics from finite values only
		- add fallback when statistic result is NaN
	* [UPDATE] : sigima/params.py, sigima/proc/signal/__init__.py and sigima/proc/image/__init__.py :
		- export new parameter classes and processing functions
	* [UPDATE] : doc/user_guide/features.rst :
		- document replace_special_values for signal and image conditioning
	* [TEST] : sigima/tests/signal/replace_special_values_unit_test.py and sigima/tests/image/replace_special_values_unit_test.py :
		- add unit and validation tests for strategies and edge cases
… by typing), prevent float64 image copy before any operations
@ThomasMalletCodra ThomasMalletCodra merged commit 3be7108 into develop Jun 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants