Code Monkey home page Code Monkey logo

mxcube's Introduction

mxCuBE

mxCuBE stands for macromolecular xtallography customized beamline environment; the project started in 2005 at ESRF, since then it has been adopted by other institutes in Europe. In 2010, a collaboration agreement has been signed for the development of mxCuBE with the following partners:

mxCuBE consists of 2 main parts:

  • a graphical user interface
  • data acquisition control layer

Graphical user interface

mxCuBE GUI is built on top of the Bliss Framework, a tool developed at ESRF for building graphical interfaces based on Python 2.x and the Qt 3 toolkit, especially designed for beamline experiment control applications.

Data acquisition control

Data acquisition control is made of Hardware Objects. Hardware Objects are Python classes associated with a configuration XML file. Hardware Objects are instanciated by the Hardare Repository.

Each Hardware Object should be based on an abstract class, defining a common API for mxCuBE. Then, implementation differs at each site depending on hardware and beamline specificities.

Installing mxCuBE

git repository organization

This repository includes two submodules, for both BlissFramework and HardwareRepository. Cloning can be done by the following commands:

git clone https://github.com/mxcube/mxcube.git mxcube-2
git checkout <latest_tag>
git submodule init; git submodule update

Within the bin directory you can find scripts to start mxCuBE and the HWR server. By default the mxcube script loads mxcube.gui ; this file is not shipped with the repository, for the first time it has to be created by making a copy of example_mxcube.gui.

 cp example_mxcube.gui mxcube.gui

Dependencies

PyTango and SpecClient are optional dependencies.

If SpecClient is not present, the Hardware Repository Server does not work, though. In this case just specify a directory containing the Hardware Objects XML files instead of a "host:port" string for the --hardwareRepository command line argument.

Running mxCuBE

Once dependencies are satisfied, and the mxcube.gui is present, just run the mxcube script:

./bin/mxcube --hardwareRepository=<directory or host:port>

See mxcube --help for more command line arguments.

mxcube's People

Contributors

marcus-oscarsson avatar mguijarr avatar hellmig avatar ivarskarpics avatar olofsvensson avatar pkeller avatar

Watchers

James Cloos avatar  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.