Coder Social home page Coder Social logo

areadetector / adfastccd Goto Github PK

View Code? Open in Web Editor NEW
2.0 19.0 5.0 11.69 MB

An EPICS areaDetector driver for the LBNL Fast CCD

Home Page: https://areadetector.github.io/master/ADFastCCD/index.html

Makefile 4.80% C++ 68.82% C 24.93% Batchfile 1.45%
areadetector epics fastccd

adfastccd's Introduction

areaDetector

Build Status

The top-level repository for the EPICS areaDetector software. This repository contains mostly documentation, configuration files, and a top-level Makefile to build the entire areaDetector package.

The areaDetector code is contained in submodules under this module. Four of these are "core" submodules:

  1. ADSupport. This contains the source code for support libraries (TIFF, JPEG, HDF5, XML2, etc.). This is required for Windows and vxWorks, and can optionally be used on Linux and Darwin.
  2. ADCore. This contains the base classes, plugins, and documentation.
  3. ADSimDetector. This contains an example 2-D simulation detector driver and IOC.
  4. ADViewers. This contains viewers for displaying areaDetector images in ImageJ and IDL.

All of the other submodules (ADProsilica, ADPilatus, etc.) contain drivers and EPICS IOC applications for specific detectors.

Additional information:

See the following documentation about the git submodule feature and how it can be used:

To get a clone of the full areaDetector distribution (core, plugins and drivers) do a recursive clone of this repository:

git clone --recursive https://github.com/areaDetector/areaDetector.git

adfastccd's People

Contributors

markrivers avatar stuwilkins avatar

Stargazers

 avatar  avatar

Watchers

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

adfastccd's Issues

ADFastCCD lacks a RELEASE.md and a documentation directory

areaDetector repositories should have a RELEASE.md file that describes the changes between each release.

There should also be a documentation directory that describes the driver in some detail, preferably with a screen shot so the controls are obvious.

Image array size doesn't match image1:ArraySize0 * image1:ArraySize1

I'm trying to use ophyd's shaped_image DerivedSignal, but I'm getting this error:

Subscription value callback exception (EpicsSignal(read_pv='ALS:701:image1:ArrayData', name='701_image1_array_data', parent='701_image1', value=array([882, 882, 882, ...,   0,   0,   0], dtype=int16), timestamp=1558385498.360814, auto_monitor=False, string=False, write_pv='ALS:701:image1:ArrayData', limits=False, put_complete=False))
Traceback (most recent call last):
  File "/home/rp/PycharmProjects/ophyd/ophyd/ophydobj.py", line 315, in inner
    cb(*args, **kwargs)
  File "/home/rp/PycharmProjects/ophyd/ophyd/signal.py", line 486, in _derived_value_callback
    value = self.inverse(value)
  File "/home/rp/PycharmProjects/ophyd/ophyd/areadetector/base.py", line 107, in inverse
    return np.array(value).reshape(array_shape)
ValueError: cannot reshape array of size 2361600 into shape (2050,960)

I can see that ...image1.shaped_image._shape[0] maps to ...image1:ArraySize1_RBV. These PVs don't match the size of the image (confirmed with caget).

Rather, ...cam1:ArraySizeX_RBV and ...cam1:ArraySizeX_RBV seem to match the shape of the image (2050,1152).

Is this an issue with the configuration of the detector, or the IOC?

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.