Code Monkey home page Code Monkey logo

scikit-beam-examples's Introduction

scikit-beam

Build Status codecov.io Join the chat at https://gitter.im/scikit-beam/scikit-beam

Documentation

Examples

scikit-beam-examples repository

Quick start

install with conda

conda install scikit-beam -c nsls2forge

install development version with setuptools

git clone [email protected]:scikit-beam/scikit-beam.git
cd scikit-beam
python setup.py install

set up for development

git clone [email protected]:scikit-beam/scikit-beam.git
cd scikit-beam
python setup.py develop
pip install pytest coverage setuptools

make sure all the tests pass!

python run_tests.py

and you can check the code coverage with

coverage run run_tests.py
coverage report -m

scikit-beam-examples's People

Contributors

celiafish avatar danielballan avatar ericdill avatar jrmlhermitte avatar licode avatar sameera2004 avatar stuwilkins avatar tacaswell avatar thegreatwall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scikit-beam-examples's Issues

Are the example tif images corrupt?

Trying to fix this broken powder_calibration:
scikit-beam-examples/broken/powder_calibration/D_estimate_demo.ipynb

Are the example tif images corrupt?

This piece of code fails:
import pims
si_fname = 'Si_STD_d204-00002.tif'
pims.tiff_stack.TiffStack_tifffile(si_fname)


AttributeError Traceback (most recent call last)
in ()
----> 1 pims.tiff_stack.TiffStack_tifffile(si_fname)

/reg/neh/home3/yoon82/sklearn/lib/python2.7/site-packages/pims/tiff_stack.pyc in init(self, filename, process_func, dtype, as_grey)
112 as_grey=False):
113 self._filename = filename
--> 114 record = tifffile.TiffFile(filename).series[0]
115 if hasattr(record, 'pages'):
116 self._tiff = record.pages

AttributeError: 'NoneType' object has no attribute 'TiffFile'

A repo by an other name would shadow less.

Yesterday I had the opinion that we should leave this called "Demos," but I have changed by mind. It might be better manners to name this something more specific the project -- scikit-xray-examples or xray-examples.

Reorganize demos

Reorganize the demos so that they are organized by scientific use case (1-time, calibration, etc.), not by demo type (script, vistrails, ipynb).

Such a reorganization has the advantage of being able to include a science-specific readme in these folders. See the dpc demo for a concrete version of what I mean.

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.