Skip to content

Data2D stores no information about the shape/dimensionality of the data (Trac #622) #754

@sasview-bot

Description

@sasview-bot

The Data2D object currently stores 2D data as three 1D arrays (data, qx_data and qy_data)

This is an issue when it comes to plotting the data, since the 1D data array needs to be converted into a 2D array, but the Data2D object has no information about what shape the 2D array should be.

It's also an issue when it comes to writing NXcanSAS files, since the data is written to the file as a 2D array.

Migrated from http://trac.sasview.org/ticket/622

{
    "status": "closed",
    "changetime": "2016-10-06T16:21:28",
    "_ts": "2016-10-06 16:21:28.610557+00:00",
    "description": "The Data2D object currently stores 2D data as three 1D arrays (data, qx_data and qy_data)\n\nThis is an issue when it comes to plotting the data, since the 1D data array needs to be converted into a 2D array, but the Data2D object has no information about what shape the 2D array should be.\n\nIt's also an issue when it comes to writing NXcanSAS files, since the data is written to the file as a 2D array.",
    "reporter": "lewis",
    "cc": "",
    "resolution": "obsolete",
    "workpackage": "Plotting/Graphing Enhancements",
    "time": "2016-08-18T16:20:16",
    "component": "SasView",
    "summary": "Data2D stores no information about the shape/dimensionality of the data",
    "priority": "major",
    "keywords": "",
    "milestone": "SasView 4.0.0",
    "owner": "",
    "type": "enhancement"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFeature requests and/or general improvementsMajorBig change in the code or important change in behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions