diff options
author | Thomas White <taw@physics.org> | 2021-01-14 17:08:25 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-01-14 17:09:35 +0100 |
commit | 7fb94888dc081749e004aeef9b2742909e1cbc8e (patch) | |
tree | e6be5cd7e784859b5bef86c1c0db3304a32fa7f3 /libcrystfel/src/datatemplate.h | |
parent | 0adf5fd72e96e5772288088cac71451a5f898c2e (diff) |
Avoid very slow loop over pixels to create bad pixel map
Bad regions specified in terms of x/y still require an iteration over
all pixels of the detector, but I don't see an easy way around that.
Avoiding x/y bad regions will give best performance.
Diffstat (limited to 'libcrystfel/src/datatemplate.h')
-rw-r--r-- | libcrystfel/src/datatemplate.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/datatemplate.h b/libcrystfel/src/datatemplate.h index 66545786..5975f90c 100644 --- a/libcrystfel/src/datatemplate.h +++ b/libcrystfel/src/datatemplate.h @@ -87,9 +87,6 @@ extern void data_template_add_copy_header(DataTemplate *dt, extern int data_template_get_slab_extents(const DataTemplate *dt, int *pw, int *ph); -extern int data_template_in_bad_region(const DataTemplate *dtempl, - int pn, double fs, double ss); - extern struct rg_collection *data_template_get_rigid_groups(const DataTemplate *dtempl, const char *collection_name); |