Giter Club home page Giter Club logo

adtimepix3's Introduction

ADTimePix3

An EPICS areaDetector driver for TimePix3 detector from ASC.

Additional information:

Notes:

  • Depends on the CPR verson 1.9.1.
  • Depends on the json version v3.11.2.
  • Developed with ADCore R3-11 and ADSupport R1-10 or newer.
  • This has only been tested on ubuntu 18.04 and 20.04 Linux 64-bit machines.
  • This has only been developed for 2 x 2 chips layout, since that is what I have access to now
  • This has only been tested with serval version 3.0.0.
  • Driver is specific to Serval version, since features differ.

Before compiling:

  • Compile cpr
  • Clone json

How to run:

  • Under ADTimePix3/iocs/tpx3IOC/iocBoot/iocTimePix there is already a ready to use IOC for the TimePix3
    • run serval
    • Change the IP address in st.cmd.
    • Run ./st.cmd.
  • There are CSS-Boy, screens under areaDetector/tpx3App/op/ [TODO - update for serval 3.0.0].

Adjust chip thresholds

  • Optimize/equalize chips in the 'count' mode (not ToT)
  • Threshold fine increase is closer to noise (you get more counts)
  • Threshold fine decrease is away from noise, higher threshold in keV. (you get less counts)
  • These threshold settings can depend on X-ray energy.
  • After changing the thresholds take a background image to check that you do not get extra noise pixels.

areaDetector

Uncomment following lines in ADCore/iocBoot

  • ADCore/iocBoot/commonPlugins.cmd

    • Magick file saving plugin
      • NDFileMagickConfigure("FileMagick1", $(QSIZE), 0, "$(PORT)", 0)
      • dbLoadRecords("NDFileMagick.template","P=$(PREFIX),R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
    • load NDPluginPva plugin
      • NDPvaConfigure("PVA1", $(QSIZE), 0, "$(PORT)", 0, $(PREFIX)Pva1:Image, 0, 0, 0)
      • dbLoadRecords("NDPva.template", "P=$(PREFIX),R=Pva1:, PORT=PVA1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT)")
      • startPVAServer
    • load sseq record for acquisition sequence
      • dbLoadRecords("$(CALC)/calcApp/Db/sseqRecord.db", "P=$(PREFIX), S=AcquireSequence")
      • set_requestfile_path("$(CALC)/calcApp/Db")
    • load devIocStats records
      • dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminSoft.db", "IOC=$(PREFIX)")
  • ADCore/iocBoot/commonPlugin_settings.req

    • file "NDFileMagick_settings.req", P=$(P), R=Magick1:
    • file "NDPva_settings.req", P=$(P), R=Pva1:

adtimepix3's People

Contributors

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