Beispiel #1
0
def load(filename):
    from dials.util.nexus import nx_reflections, nx_mx

    entry = get_entry(filename, "r")
    ref, exp_index = nx_reflections.load(entry)
    exp = nx_mx.load(entry, exp_index)
    return exp, ref
Beispiel #2
0
def load(filename):
    entry = get_entry(filename, "r")
    ref, exp_index = nx_reflections.load(entry)
    exp = nx_mx.load(entry, exp_index)
    return exp, ref