Comments (2)
http://www.silx.org/doc/dahu/latest/
from dahu.
There is only the documentation about the dahu server and plugin mechanism ... There is limited (technical) documentation for the different plugins available via the tango interface:
lintaillefer:~ % TANGO_HOST="BM29:20000" ipython3
Python 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import tango
In [3]: d=tango.DeviceProxy("DAU/dahu/1")
In [6]: print(d.initPlugin("bm29.IntegrateMultiframe"))
Plugin loaded: bm29.IntegrateMultiframe
perform the integration of many frames contained in a HDF5 file and average them
Input parameters:
:param poni_file: configuration of the geometry
:param input_file: path for the HDF5 file
Typical JSON file:
{
"input_file": "/tmp/file1.h5",
"output_file": "/tmp/file1.h5", # optional
"frame_ids": [101, 102],
"timestamps": [1580985678.47, 1580985678.58],
"monitor_values": [1, 1.1],
"storage_ring_current": [199.6, 199.5]
"exposure_time": 0.1,
"normalisation_factor": 1.0,
"poni_file": "/tmp/example.poni",
"mask_file": "/tmp/mask.edf",
"npt": 1000,
"energy": 12.0, #keV
"fidelity_abs": 1e-5,
"fidelity_rel": 1e-3,
"hplc_mode": 0,
"timeout": 10,
"sample": {
"name": "bsa",
"description": "protein description like Bovine Serum Albumin",
"buffer": "description of buffer, pH, ...",
"concentration": 0,
"hplc": "column name and chromatography conditions",
"temperature": 20,
"temperature_env": 20},
"ispyb": {
"url": "http://ispyb.esrf.fr:1234",
"login": "mx1234",
"passwd": "secret",
"pyarch": "/data/pyarch/mx1234/sample",
"measurement_id": -1,
"collection_id": -1
}
}
from dahu.
Related Issues (20)
- [ID02] Refactor plugins from ID02 into a package
- [ID02] convert plugins from Python2 to Python3
- [BM29] export ispyb files HOT 1
- [BM29] subtract plugin should have a symbolic link to the NXinstrument of the sample file
- [BM29] export_ascii should work on subtracted files HOT 1
- [BM29] recurent H5py errors when saving Rambo-Tainer invariants in subtracted file HOT 1
- [ID02] XPCS plugin should increment entries in Nexus files
- [ID02] XPCS what to do if some bins have no contributions HOT 2
- [BM29] propagate timestamps of frames HOT 1
- [ID02] Memory leak HOT 1
- [core] Make the DataCache class a borg or not...
- json.JSONEncoder does not have an "encoding" argument
- [BM29] Correct formula for standard error of mean HOT 1
- [BM29] std based on variance in azimuthal space
- [BM29] integration of processed data into the data-portal
- Support python 3.12
- Documentation is broken
- Debian packagin is broken
- [ID27] prepare data to be processed with XDS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dahu.