Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-1020 Create new 'Sensors' simple visualizers.
  3. TVB-1039

Refactor how Sensor positions are loaded from Brain Visualizer

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Visualizers, Web Interface
    • Labels:
      None
    • Sprint:
      Sprint end 2013

      Description

      Sensor positions should not be passed directly to Genshi in the initial viewer launch, but passed as an URL (flow/read_datatype_attribute/[sensor_GID]/sensors_to_surface/false/[surface_gid]).
      From JS code for loading these sensors from URl need to be arranged (use exiting functions).

      BAD code in BranViewer: lines 310:
      sensor_locations = surface_activity.sensors.sensors_to_surface(self.eeg_cap)[1]
      measure_points = json.dumps(sensor_locations.tolist())

        Attachments

          Activity

            People

            • Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              lia.domide Lia Domide
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours Time Not Required
                4h