Skip to content

cannot set custom smearing without data (Trac #714) #837

@pkienzle

Description

@pkienzle

To simulate a dataset before measurement, it would be useful to be able to set custom pinhole smear or custom slit smear even when there is no data available. When I try this I get

Traceback (most recent call last):
  File "/Users/pkienzle/Source/sasview-new/src/sas/sascalc/data_util/calcthread.py", line 268, in _run
    self.compute(*args, **kwargs)
ValueError: operands could not be broadcast together with shapes (0,) (49,) 

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

{
    "status": "closed",
    "changetime": "2016-10-07T14:48:27",
    "_ts": "2016-10-07 14:48:27.021691+00:00",
    "description": "To simulate a dataset before measurement, it would be useful to be able to set custom pinhole smear or custom slit smear even when there is no data available.  When I try this I get\n{{{\nTraceback (most recent call last):\n  File \"/Users/pkienzle/Source/sasview-new/src/sas/sascalc/data_util/calcthread.py\", line 268, in _run\n    self.compute(*args, **kwargs)\nValueError: operands could not be broadcast together with shapes (0,) (49,) \n}}}",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "SasView Bug Fixing",
    "time": "2016-10-06T16:00:12",
    "component": "SasView",
    "summary": "cannot set custom smearing without data",
    "priority": "blocker",
    "keywords": "",
    "milestone": "SasView 4.1.0",
    "owner": "mathieu",
    "type": "defect"
}

Metadata

Metadata

Assignees

Labels

BlockerPrevents a different issue from being resolvedDefectBug or undesirable behaviour

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions