Giter VIP home page Giter VIP logo

centroids's Introduction

centroids

Build Status

Build Type Result
Python Linux Builds Build Status
CXX Lib Linux Builds Build Status
Documentation Build Build Status

Introduction

Routines for performing single photon counting and centroiding of CCD data

Documentation

The documentation can be found online.

Changes

v0.2.0rc2

  • Exposed Pixel Lookup Table to python interface
  • Added weights for 1D and 2D Fits

v0.2.0rc1

Release candidate for v0.2.

  • Changed MANIFEST.in to allow for building with pip.

v0.1.11

  • Fixed bug in standard error for 2D fits calculations. Incorrect number of data points was used.
  • Added range option to fitting parameters for sigma and position
  • Modified CI to report tests and coverage
  • Improved unit tests to cover parameter range selection
  • Added debug output to unit tests
  • Updated docs

centroids's People

Contributors

mrakitin avatar stuartcampbell avatar stuwilkins avatar tacaswell avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

centroids's Issues

Arugments for `find_photons()` look to be inverted for version '0.2.0rc2'

@stuwilkins in the example notebook of this repo, we find we get zero photons using pycentroids version
'0.2.0rc2'

https://github.com/NSLS-II/centroids/blame/f9a8b54143aab7de6ec0e6dd5f992c93ad33f8ec/examples/Single_Photon_Test.ipynb#L212

image

Looking at the docstring, it seems that the threshold (250) and filter (3) are inverted for the version deployed on our jupyterserver.

We can update the notebook in a PR, but just wanted to check first.

Also, the histograms look generally the same, but we found 794 events not 702 after just fixing the argument order above. The histograms look largely the same, but the 2x2 scatter plots look like the correlation of fits for xfrac and yfrac are improved. Perhaps this is expected as improvements were made to code. Can you confirm the algorithm should be "better" or do we need to adjust the argument values ?

image

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.