Giter Site home page Giter Site logo

master-project's Introduction

Simulation and evaluation of imperfect X-ray diffraction data

This repository contains everything needed to reproduce the results of my master's thesis:

Linking data and model quality in X-ray Crystallography

Successfully running the scripts in this repository will require at least 2 GB of free space, as well as much processing power and / or time.

For details on the purpose of this project, please look at master_thesis_adler.pdf

To reproduce my results, make sure to have numpy==1.19.1 and matplotlib==3.3.0 installed, then clone this repository and run new_model.py in the models directory.

Once the new directory exists, move there and enter "sh bg_simulate_all &", then enter "disown", in order to simulate everything in the background; if you do this, you can close the console window while you wait; the simulations will likely take several hours (or days); bg_simulate_all will execute the following scripts: create_ensemble.sh: this will create 20 models and "shake" the coordinates for each one, then combine them into an "ensemble"; create_reference.sh: this will create a reference file to ensure correct indexing by XDS; adjust_max.py: this will determine maximum values for each parameter based on CC1/2; simulate.py: this will simulate frames, then reduce and refine the data with an adjustable number of values (default: 20) for each parameter, and save relevant data statistics in the "datafiles" directory; plot_all.py: this will create plots for the contents of the "datafiles" directory;

You can check progress by looking at the logs in the "logfiles" directory. If you want to skip / change any of the steps, simply alter the relevant lines in bg_simulate_all, or run each script individually.

To simulate data for a specific parameter value, use "fix.py";

master-project's People

Contributors

jadler-13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.