NeurodataWithoutBorders / matnwb

A Matlab interface for reading and writing NWB files
BSD 2-Clause "Simplified" License
49 stars 32 forks source link

Add Data Scaling #185

Open lawrence-mbf opened 4 years ago

lawrence-mbf commented 4 years ago
datasets:
- name: data
  dims:
  - name: times
    required: true
    length: null
    doc: optional doc string
  - name: electrodes
    required: false
    length: null
    doc: optional doc string
  - name: dim3
    required: false
    length: null
    doc: optional doc string
  coords:
  - name: time
    dims_index: 0
    coord:
    - dataset_name: timestamps
      dims_index: 0
      type: aligned
  - name: electrodes
    dims_index: 1
    coord:
    - dataset_name: electrodes
      dims_index: 0
      type: aligned
  - name: z
    dims_index:
    - 0
    - 1
    coord:
    - dataset_name: arbitrary_2d_mask
      dims_index:
      - 0
      - 1
      type: aligned

Note: All classes that have Datasets with Data Scaling will also embed two attributes:

NeurodataWithoutBorders/pynwb#626

ehennestad commented 1 week ago

@lawrence-mbf Just to clarify, this is not something which is relevant now, but might be if the linked issue is resolved?

lawrence-mbf commented 1 week ago

@ehennestad Yeah, this is a feature request tied to that pynwb feature request. Once that issue gets closed then I would assume that the feature is ready for porting over to MatNWB.