paulscherrerinstitute / pyzebra

GNU General Public License v3.0
3 stars 2 forks source link

metafile *.cami #32

Closed zaharko closed 3 years ago

zaharko commented 3 years ago

I write here entries from cami file which could be sometimes rewritten to perform correct calculations in pyzebra or any other new software working with zebra hdf files:

ivan-usov commented 3 years ago

Changed from

#zebra_mode
nb
#zebra_mode

to

#begin zebra_mode
nb
#end

which is consistent with the rest of .cami specs

ivan-usov commented 3 years ago

I would suggest to keep rootpath and filelist as they were before, otherwise one would need to modify all old .cami files

ivan-usov commented 3 years ago

Is it dist1 or dist2? And I believe the path in hdf is /entry1/ZEBRA/area_detector2/distance, is it correct?

ivan-usov commented 3 years ago

I would suggest to either separate cell values with commas, or separate UB values with spaces, so that both are consistent

zaharko commented 3 years ago

Ivan,

I am personally for no commas, But the old software uses UB input with commas Therefore I suggest to have presently commas in cell parameters and UB.

Oksana

On 29 Jun 2021, at 11:44, Ivan Usov @.**@.>> wrote:

I would suggest to either separate cell values with commas, or separate UB values with spaces, so that both are consistent

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870445331, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMBMFVDFOFRZPMIYSXW7V2LTVGIZJANCNFSM47ODBKJA.

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870445331", "url": "https://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870445331", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

zaharko commented 3 years ago

I do not know should it be dist1 or dist2 How should we number them? Dist1 for 1d detector Dist2 for 2D detector?

You are right, the distance for the area detector is saved in entry1/ZEBRA/area_detector2/distance

On 29 Jun 2021, at 11:36, Ivan Usov @.**@.>> wrote:

Is it dist1 or dist2? And I believe the path in hdf is /entry1/ZEBRA/area_detector2/distance, is it correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870439866, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMBMFVBMTSYQMER3BTA3PTLTVGHZPANCNFSM47ODBKJA.

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870439866", "url": "https://github.com/paulscherrerinstitute/pyzebra/issues/32#issuecomment-870439866", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

ivan-usov commented 3 years ago

OK, i'll go with dist1 for now, and I don't have any strong opinion about the naming for the actual devices.