aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/fromfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/fromfile.h')
-rw-r--r--libcrystfel/src/fromfile.h32
1 files changed, 3 insertions, 29 deletions
diff --git a/libcrystfel/src/fromfile.h b/libcrystfel/src/fromfile.h
index dda976b5..29d31aee 100644
--- a/libcrystfel/src/fromfile.h
+++ b/libcrystfel/src/fromfile.h
@@ -27,40 +27,14 @@
#ifndef FROMFILE_H
#define FROMFILE_H
+struct fromfile_keys;
+struct fromfile_entries;
+struct fromfile_private;
#include "image.h"
#include "cell.h"
#include "uthash.h"
-/* There are 9 vector components,
- * 2 detector shifts, 1 profile radius,
- * 1 resolution limit */
-#define NPARAMS_PER_LINE 13
-/* The keys are the filename,
- * event path, event dim and crystal number */
-#define NKEYS_PER_LINE 4
-
-struct fromfile_private
-{
- UnitCell *cellTemplate;
- struct fromfile_entries *sol_hash;
-};
-
-struct fromfile_keys
-{
- char filename[100];
- char event_path[100];
- int event_dim;
- int crystal_number;
-};
-
-struct fromfile_entries
-{
- struct fromfile_keys key;
- float solution[NPARAMS_PER_LINE];
- UT_hash_handle hh;
-};
-
extern void print_struct(struct fromfile_entries *sol_hash);
extern void full_print_struct(struct fromfile_entries *sol_hash);