Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Just a bug.
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/72
|
|
Without these, the algorithms assume defaults which don't necessarily
match what the user intended.
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/70
|
|
|
|
|
|
For cases where you need it (high performance online processing), it's
very spammy.
|
|
Previously, the whole program would exit if any worker saw kEndOfStream.
Unfortunately, this happens quite often, due to data starvation (too
many workers for the data rate) or just general slowness. Therefore we
need a more robust criterion.
|
|
|
|
The old maximum was 64 kilobytes, and a 68k geometry file has now been
seen in the wild. The limit is only needed to prevent runaway memory
allocation in the case of a corrupted stream. So it's safe to increase
it quite a lot.
|
|
This reverts commit 50d0043dd1177c10ba888b614c6766c5e33386e7.
It spams the terminal too much, and ASAP::O-tv shows this time more
comfortably via a web interface.
|
|
|
|
|
|
|
|
|
|
Fixes Valgrind errors and segfault with certain geometries
|
|
|
|
|
|
|
|
|
|
|
|
It is horrible. But it's contained inside the DataTemplate module.
|
|
|
|
It seems to make more sense here, because it's all about interpreting
the contents of the DataTemplate structure.
|
|
|
|
|
|
This adds an optional fast mode for asdf indexing, which is around 3
times faster with only a few percent lower success rate.
|
|
|
|
|
|
This avoids e.g. crashing later if the geometry is bad.
This commit also removes a problematic stanza from the geometry in
test.stream, since the stream reading functions are now more fussy about
this.
|
|
|
|
|
|
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/73
|
|
|
|
These are included in the GResources now
|
|
Otherwise we have to mess around with custom paths whenever CrystFEL is
installed in a non-system location.
|
|
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/63
|
|
This allows the "-i" option to be given multiple times, instead of
having to concatenate the streams via stdin.
|
|
Previously, the only way to process more than one stream was to
concatenate them via stdin. Now, you can give '--' followed by a list
of streams. The '--' is needed to distinguish from the situation where
a geometry file is to be updated.
|
|
|
|
Previously, the task buttons used stock icons chosen to approximately
fit the task when displayed with the icon theme on my computers. But
they don't fit so well in other themes, and sometimes no icon is shown
at all.
So, now they have their own icons, specifically designed for CrystFEL.
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/9
|
|
It will refuse to draw the rings if the detector is too far from being
flat (as judged by detgeom_mean_camera_length). Otherwise, the drawing
is exactly the same as was done by hdfsee.
|
|
|
|
|
|
This adds a central procedure (image_create_dp_bad_sat) to create all
the arrays. Then it's up to the loading procedure to put the values
into the arrays.
This also makes the loading procedures responsible for marking NaN/inf
pixels in the bad pixel map. This avoids an additional sweep through
the image data, and makes it possible to skip the NaN/inf check
altogether if the image data comes, as it often does, in format which
can't represent NaN/inf anyway.
Finally, it removes quite a lot of duplicated code.
|
|
Strongly negative peaks can occur if there are unmasked bad pixels.
These cause the refinement to diverge badly. This change stabilises the
refinement such that it works even in these cases. But of course, the
real solution is to mask out those pixels.
Negative intensity peaks are unlikely to show up "for real" in the peak
search results (because we look for strong peaks!). However, if the
intensity is negative, we aren't even sure that the peak exists at all
and have no reason to assume it should be close to the Bragg condition.
|
|
|