Giter VIP home page Giter VIP logo

2bm-tomo's Introduction

2bm-tomo

tomo is commad-line-interface for running tomographic scans at beamline beamline 2bm of the Advanced Photon Source

Installation

$ git clone https://github.com/xray-imaging/2bm-tomo.git
$ cd 2bm-tomo
$ python setup.py install

in a prepared virtualenv or as root for system-wide installation.

Warning

If your python installation is in a location different from #!/usr/bin/env python please edit the first line of the bin/tomo file to match yours.

Usage

Running a scan

To run a tomographic scan:

$ tomo scan

from the command line. To get correct results, you may need to set specific options, for example to collect 10 tomographic dataset at 10 vertical positions separated by 1 mm:

$ tomo scan --scan-type vertical --vertical-scan-start 0 --vertical-scan-end 10 --vertical-scan-step-size 1

to list of all available options:

$ tomo scan -h

Configuration File

Scanning parameters are stored in tomo2bm.conf. You can create a template with:

$ tomo init

tomo2bm.conf is constantly updated to keep track of the last stored parameters, as initalized by init or modified by setting a new option value. For example to re-run the last scan with identical parameters just use:

$ tomo scan

A the end of each scan the current config file is copied in the raw data directory and renamed as sample_name.conf. To repeat the scan with the same condition just use:

$ tomo scan --config /data_folder/sample_name.conf

2bm-tomo's People

Contributors

decarlof 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.