|
|
1d88f33cf3
|
Replace sf_ prefix with cbd_ for streak finder params; We are at SwissFell after all
|
2025-07-11 15:29:51 +02:00 |
|
|
|
193f531d5c
|
Correct setting name for mask form file dataset; prepend all strak-finder-specific settings names with sf; Make streak-finder mask optional now that we have mask from file
|
2025-07-11 14:57:20 +02:00 |
|
|
|
4eb4bb76dc
|
Ensure single read and no copy for hdf5 data
|
2025-07-11 14:47:20 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
7169ce5acb
|
We know that detected streaks are list, use np.array
|
2025-07-11 11:22:45 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
e3e701a4da
|
Masking negative values for streak finder should be reflected in mask, not in data
|
2025-07-11 11:09:17 +02:00 |
|
|
|
d8e38df39a
|
Option to read additional mask from file; Applied on startup only
|
2025-07-11 10:16:05 +02:00 |
|
|
|
e756b70655
|
Credits
|
2025-07-11 08:57:24 +02:00 |
|
|
|
2b17a8bd3a
|
Configurable negative values handler for streak finder
|
2025-07-11 08:53:18 +02:00 |
|
|
|
b6df4986de
|
Further simplify, get rid of redundant brackets
|
2025-07-11 08:19:10 +02:00 |
|
|
|
1ef801c37e
|
Add parameter sf_min_hit_streaks to streak finder - Minimum number of discovered streaks to categorize frame as a hit
|
2025-07-11 08:11:42 +02:00 |
|
|
|
c5ba140c71
|
Format import
|
2025-07-11 08:08:22 +02:00 |
|
|
|
152b2342d7
|
Simplify results dictionary updates in streak finder
|
2025-07-11 08:06:29 +02:00 |
|
|
|
6f2fa2d419
|
Merge branch 'chapman' of https://gitea.psi.ch/ext-dorofe_e/dap into chapman
|
2025-07-11 07:59:27 +02:00 |
|
|
|
094371a63b
|
Simplify converting frame to stack for CrystData
|
2025-07-11 07:59:19 +02:00 |
|
|
|
626f324eff
|
Merge branch 'main' into chapman
|
2025-07-10 18:52:10 +02:00 |
|
|
|
a304ff1d9d
|
Added crop roi to readme
|
2025-07-10 10:33:38 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
2bd3e875e3
|
Bug fix in streaks coordintaes shift
|
2025-07-10 10:26:38 +02:00 |
|
|
|
b3ec993f2f
|
Swap x/t for crop roi for cryst data
|
2025-07-10 10:08:37 +02:00 |
|
|
|
84b6ef3c52
|
For concentric streaks detection, take into account crop region shift
|
2025-07-10 10:07:19 +02:00 |
|
|
|
ea28335ae0
|
For final streak finder result, take into account crop region shift
|
2025-07-10 09:33:36 +02:00 |
|
Dorofeeva Elizaveta (EXT)
|
969ac8ffcf
|
First step towards running algorithm on cropped image
|
2025-07-10 09:26:17 +02:00 |
|
|
|
d9ef09a69e
|
Clean up debug prints; minor cleanup in README
|
2025-07-07 10:05:29 +02:00 |
|
|
|
8e4301c443
|
Update README with details of streak finder input and output parameters as well as example settings json
|
2025-07-07 09:56:25 +02:00 |
|
|
|
76b8d957dd
|
Code cleanup; TODO: update README
|
2025-07-07 09:28:41 +02:00 |
|
|
|
00024ffd5d
|
Merge branch 'chapman' of https://gitea.psi.ch/ext-dorofe_e/dap into chapman
|
2025-07-07 09:03:20 +02:00 |
|
|
|
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 |
|
Dorofeeva Elizaveta (EXT)
|
ca6ef2453a
|
Bug fix in streak finder; TODO: mask from file is not refreshed on file change
|
2025-07-04 11:57:08 +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 |
|