Skip to content

default effective radius type (Trac #1201) #191

@pkienzle

Description

@pkienzle

In sasmodels, all platforms.

For the beta_approx branch we are using a default of 0 as the effective radius type (i.e., use the value from the parameter table instead of the form factor calculation) rather than whatever the model was returning before.

Do we want this as the default?

Or should we set the default to 1 and make sure that is the "best" effective radius to use when computing P@S?

There is also an issue with reloading a saved P@S fit from 4.2 and earlier, which all implicitly use old ER radius type.

Do we try to set the equivalent effective radius type parameter in the model?

Or do we let it silently use the default value for radius_effective from S?

Note: if the old ER is not the first effective radius type for any model then conversion with need a table for each model giving the number to use. Not difficult, but a detail to test if we decide to support correct reloading of old P@S models.

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

{
    "status": "closed",
    "changetime": "2019-03-19T14:49:37",
    "_ts": "2019-03-19 14:49:37.985291+00:00",
    "description": "In sasmodels, all platforms.\n\nFor the beta_approx branch we are using a default of 0 as the effective radius type (i.e., use the value from the parameter table instead of the form factor calculation) rather than whatever the model was returning before.\n\nDo we want this as the default?\n\nOr should we set the default to 1 and make sure that is the \"best\" effective radius to use when computing P@S?\n\nThere is also an issue with reloading a saved P@S fit from 4.2 and earlier, which all implicitly use old ER radius type.\n\nDo we try to set the equivalent effective radius type parameter in the model?  \n\nOr do we let it silently use the default value for radius_effective from S?\n\nNote: if the old ER is not the first effective radius type for any model then conversion with need a table for each model giving the number to use.  Not difficult, but a detail to test if we decide to support correct reloading of old P@S models.\n",
    "reporter": "pkienzle",
    "cc": "",
    "resolution": "fixed",
    "workpackage": "Beta Approximation Project",
    "time": "2018-10-19T22:15:02",
    "component": "sasmodels",
    "summary": "default effective radius type",
    "priority": "major",
    "keywords": "",
    "milestone": "sasmodels 1.0",
    "owner": "GitHub <[email protected]>",
    "type": "defect"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions