-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Reported by Rafal Kryszton and verified by smk78.
Affects Mac & Win.
The Fractal model in 4.1 builds and the 4.0.1 release is exhibiting unusual behaviour, not present in the 3.1.2 release, when dQ smearing is enabled.
An error is thrown: Plotting Error: Data has no positive values, and therefore cannot be log-scaled.
Depending on the root cause, this issue may affect other models.
To demonstrate:
Load the attached data. Send to Fitting. Select the Fractal model. Unselect all parameters.
With Instrumental Smearing = None, set fractal_dim to a number other than 2 and hit Enter. The model should recompute.
Now set Instrumental Smearing = Use dQ data and repeat. If fractal_dim is any value other than 2 the error is thrown and the model is not recomputed or disappears from view.
Reselecting Instrumental Smearing = None redisplays the model line.
Side Comment:
The .txt file is the users original data file. This reads into 4.1/4.0.1 BUT NOT into 3.1.2. The .csv version reads into all.
Migrated from http://trac.sasview.org/ticket/835
{
"status": "closed",
"changetime": "2017-03-21T15:12:03",
"_ts": "2017-03-21 15:12:03.243777+00:00",
"description": "Reported by Rafal Kryszton and verified by smk78.\n\nAffects Mac & Win.\n\nThe Fractal model in 4.1 builds and the 4.0.1 release is exhibiting unusual behaviour, not present in the 3.1.2 release, when dQ smearing is enabled.\n\nAn error is thrown: Plotting Error: Data has no positive values, and therefore cannot be log-scaled.\n\nDepending on the root cause, this issue may affect other models.\n\nTo demonstrate:\n\nLoad the attached data. Send to Fitting. Select the Fractal model. Unselect all parameters.\n\nWith Instrumental Smearing = None, set fractal_dim to a number other than 2 and hit Enter. The model should recompute.\n\nNow set Instrumental Smearing = Use dQ data and repeat. If fractal_dim is any value other than 2 the error is thrown and the model is not recomputed or disappears from view.\n\nReselecting Instrumental Smearing = None redisplays the model line.\n\nSide Comment:\n\nThe .txt file is the users original data file. This reads into 4.1/4.0.1 BUT NOT into 3.1.2. The .csv version reads into all.\n",
"reporter": "smk78",
"cc": "",
"resolution": "fixed",
"workpackage": "SasView Bug Fixing",
"time": "2017-01-05T14:51:12",
"component": "SasView",
"summary": "Fractal model not useable with dQ data due to being undefined for negative q",
"priority": "blocker",
"keywords": "",
"milestone": "SasView 4.1.0",
"owner": "pkienzle",
"type": "defect"
}