コード例 #1
0
def dump(experiments, reflections, filename):
    entry = get_entry(filename, "w")
    experiments = nx_mx.dump(entry, experiments)
    nx_reflections.dump(entry, reflections, experiments)
コード例 #2
0
ファイル: __init__.py プロジェクト: jbeilstenedmands/dials
def dump(experiments, reflections, params):
    filename = params.hklout
    entry = get_entry(filename, "w")
    experiments = nx_mx.dump(entry, experiments, params)
    nx_reflections.dump(entry, reflections, experiments)
コード例 #3
0
def dump(experiments, reflections, filename):
    from dials.util.nexus import nx_reflections, nx_mx

    entry = get_entry(filename, "w")
    experiments = nx_mx.dump(entry, experiments)
    nx_reflections.dump(entry, reflections, experiments)