TheELNConsortium / TheELNFileFormat

Specification for the ELN File Format
MIT License
45 stars 9 forks source link

Sensolytics example file #34

Closed TheRich-71 closed 1 year ago

TheRich-71 commented 1 year ago

Hi, I tried to add a first example for our measurement data, but I was not allowed to upload a branch to the code to create a pull request. Might not be necessary anyway, as the reason was mainly to see if the format can be read by the participating systems. I add the readme and eln file here, let me know if we can/should change anything... sensolytics.zip

NicolasCARPi commented 1 year ago

I was not allowed to upload a branch to the code to create a pull request

What do you mean? You can create a pull request from your fork of the repo, no?

see if the format can be read by the participating systems

Just tried it in eLabFTW, works fine. Might be interesting to generate JSON metadata for some variables. So it could look like this:

2023-10-02-172925_573x562_scrot

{
  "extra_fields": {
    "XLength": {
      "type": "number",
      "unit": "μm",
      "units": [
        "μm",
        "mm"
      ],
      "value": "200",
      "description": "X length"
    },
    "XIncrement": {
      "type": "number",
      "unit": "μm",
      "units": [
        "μm",
        "mm"
      ],
      "value": "50",
      "description": "X increment"
    },
    "TravelSpeed": {
      "type": "number",
      "unit": "μm/s",
      "units": [
        "μm/s",
        "mm/s"
      ],
      "value": "5000",
      "description": "Travel Speed"
    },
    "Scan Direction X lines": {
      "type": "checkbox",
      "value": ""
    }
  }
}

Waiting on your PR then. And if for some reson you have troubles, I'll commit it myself!

TheRich-71 commented 1 year ago

Still on the learning path with github etc., never did a fork of an existing project until now. PR is there now, we will evaluate the metadata possibility...