|
|
c6d10b2fae
|
Bugfixes, add mask rois to streak finder; Allows masking out bad rois or a part of sensor to speed up
|
2025-07-07 09:00:57 +02:00 |
|
|
|
ff532af0d6
|
Chane image in-place if snr selected; Use concentric mask
|
2025-07-04 11:14:32 +02:00 |
|
|
|
2e066ef3a7
|
Have mask and whitefield also available as it was outside of streak finder
|
2025-07-04 10:55:04 +02:00 |
|
|
|
a87b84e6c2
|
Correct order of calls in streakfind
|
2025-07-04 08:56:45 +02:00 |
|
|
|
6ff5e54be7
|
Return early if no streaks detected
|
2025-07-04 08:55:20 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
2852a5320a
|
Bug fixes in new streak finder
|
2025-07-04 08:43:28 +02:00 |
|
|
|
6e695a6734
|
New streak finder
|
2025-07-03 15:22:34 +02:00 |
|
|
|
fe23223887
|
Update readme - streak finder now marks frames as hits
|
2025-06-30 13:51:07 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
3e9da9aae5
|
Bug fix in streak finder; Mark frames with streaks as a hit
|
2025-06-30 13:47:44 +02:00 |
|
|
|
0962f48349
|
More parameters returned by streak finder: lengths and Bragg counts of all identified streaks
|
2025-06-30 13:26:24 +02:00 |
|
|
|
8f66420538
|
Updated README - update json settings file example
|
2025-06-30 09:13:52 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
3c48072d84
|
Pixel mask that is read from file is converted to bool
|
2025-06-25 15:32:55 +02:00 |
|
|
|
a69498ce7e
|
Correct parameter name in README for mask from file
|
2025-06-25 11:30:33 +02:00 |
|
|
|
84486c6ff9
|
Allow to apply additional mask that is read out of file - NumPy or hdf5
|
2025-06-25 11:15:43 +02:00 |
|
|
|
a10c70028f
|
For white field correction, allow to specify dataset to read white field from
|
2025-06-25 11:05:21 +02:00 |
|
|
|
cca5decacc
|
Add whitefield correction error handling
|
2025-06-25 10:21:56 +02:00 |
|
|
|
02e15090cd
|
Add example parameters for streak finder and whitefield correction to README
|
2025-06-25 09:22:14 +02:00 |
|
|
|
12104e72ef
|
CBD streak finder: Correct shape of streaks data
|
2025-06-25 08:53:25 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
68b108655b
|
Ensure wf correctrion to be in-place
|
2025-06-24 10:09:04 +02:00 |
|
|
|
cb2c6d5ab2
|
Added streak finding and white field correction for convergent-beam diffraction experiments;
TODO: cleanup, document streakfinder installation or add to setup
|
2025-06-24 08:13:28 +02:00 |
|
|
|
f47e1bbb88
|
Update addmask.py
|
2025-05-19 19:30:33 +02:00 |
|
|
|
1585a1b4a4
|
Update addmask.py
|
2025-05-19 19:27:12 +02:00 |
|
|
|
0793d4e298
|
Update addmask.py
|
2025-05-19 17:54:46 +02:00 |
|
|
|
e596def451
|
renamed JF06T08V06 -> JF06T08V07
|
2025-01-22 19:28:05 +01:00 |
|
|
|
9ae4464086
|
generalized "SPI analysis" from 2 to N ROIs (incl. N=0)
|
2024-12-05 12:23:26 +01:00 |
|
|
|
b245387d79
|
renamed: JF06T08V05 -> JF06T08V06
|
2024-11-19 14:05:01 +01:00 |
|
|
|
4027fcbc67
|
Merge branch 'refactor' into 'main'
refactor
See merge request sf-daq/dap!1
|
2024-10-12 17:09:09 +02:00 |
|
|
|
7a57201ca3
|
fixed dtype of "roi_intensities_normalised" if threshold_value != "NaN"
|
2024-10-03 12:13:39 +02:00 |
|
|
|
98bbe76936
|
typo: vmin instead of vmax
|
2024-10-03 11:50:49 +02:00 |
|
|
|
df17ae536c
|
numpy arrays do not like to be treated as booleans
|
2024-10-03 11:03:55 +02:00 |
|
|
|
5bf58d1193
|
fixed dtype of "roi_intensities"
|
2024-10-03 11:02:24 +02:00 |
|
|
|
05905d183c
|
bumped version of JF06 (4 -> 5)
|
2024-09-11 21:36:14 +02:00 |
|
|
|
f18af38dc6
|
reordered operations
|
2024-09-04 17:30:43 +02:00 |
|
|
|
35c50b472f
|
split updating nmax and checking readiness
|
2024-08-30 18:01:13 +02:00 |
|
|
|
a65553e13a
|
removed apply_aggregation check [aggregator cannot be ready if apply_aggregation is False]
|
2024-08-30 17:38:16 +02:00 |
|
|
|
7a05d8f095
|
moved aggregator.reset() [this now also resets if aggregation_max wasnt given]
|
2024-08-30 15:56:27 +02:00 |
|
|
|
4db7f4f8cd
|
moved "not ready" due to missing aggregation_max into Aggregator
|
2024-08-30 14:53:05 +02:00 |
|
|
|
7d57d6c5e0
|
removed unused data argument and numpy import
|
2024-08-30 11:54:10 +02:00 |
|
|
|
1350093d5a
|
removed apply_threshold check from calc_aggregation_ready as these are independent operations
|
2024-08-30 11:52:35 +02:00 |
|
|
|
470aa52ff9
|
use the proper check from JU [this includes checking for the gain now, which probably was ommitted before since the gain file rarely changes and always exists]
|
2024-08-29 10:56:46 +02:00 |
|
|
|
cc0113507b
|
removed unreachable special case for raw data (uint16) reaching aggregation [adapter.process calls handler.process with conversion=handler.can_convert(), which checks if gain and pedestal are truthy; with conversion, the dtype is float32 or int32; if handler.pedestal_file is falsy, the image is skipped upon receive -> special case can never trigger]
|
2024-08-29 10:37:04 +02:00 |
|
|
|
cb79be0a3e
|
added/use Aggregator.is_ready
|
2024-08-28 10:53:21 +02:00 |
|
|
|
1e6af40d56
|
moved calc_apply_threshold out of calc_data, removed special case check
|
2024-08-28 10:39:01 +02:00 |
|
|
|
b99a32d9d7
|
renamed raw_data -> raw_image
|
2024-08-28 10:21:32 +02:00 |
|
|
|
8981eab522
|
renamed pfdata -> pfimage
|
2024-08-28 10:19:01 +02:00 |
|
|
|
6ca0ebf945
|
renamed data -> image
|
2024-08-28 10:16:30 +02:00 |
|
|
|
f2f871c880
|
renamed image -> raw_data
|
2024-08-28 10:13:21 +02:00 |
|
|
|
d0c1621109
|
consistency: removed special case that sends the raw data image instead of the processed image data [special case triggered if apply_aggregation and apply_threshold are off, but both can still be not applied if the respective parameters (aggregation_max, threshold_min, threshold_max) are not given, which would send data]
|
2024-08-28 10:08:18 +02:00 |
|
|
|
b1f104a71d
|
disentangle
|
2024-08-21 15:55:23 +02:00 |
|
|
|
18d6dd0b7b
|
consistent naming with the other algos
|
2024-08-20 22:23:36 +02:00 |
|