Opened 5 years ago

Closed 4 years ago

#695 closed enhancement (fixed)

linear slope in onion model

Reported by: dirk Owned by: gonzalezm
Priority: major Milestone: SasView 4.2.0
Component: sasmodels Keywords:
Cc: Work Package: SasModels Redesign


Implement a linear slope for A ==0. Right now A ==0 gives a flat SLD profile given by SLDin, SLDout has no effect.

Change History (3)

comment:1 Changed 5 years ago by butler

  • Milestone changed from SasView 4.1.0 to SasView 4.2.0

Moving to 4.2 due to lack of resources to achieve in a time and as not critical to 4.1

comment:2 Changed 4 years ago by gonzalezm

  • Owner changed from dirk to gonzalezm
  • Status changed from new to assigned

This is OK, as it agrees with what the documentation says about the parameter A_k:

|A_k| > 0: exponential change between sld_in and sld_out
0 < |A_k| <<< 1 (e.g. A_k = 0.0001): linear change between sld_in and sld_out
A_k = 0: Use constant sld = sld_in for the whole shell. What it could be misleading is that in this case sld_out is not used, but this is clearly indicated in the documentation.

The only small bug is that the 'Show SLD profile' does not represent correctly the last case, as it keeps showing a linear change even when A_k = 0. I am going to fix this.

comment:3 Changed 4 years ago by ajj

  • Resolution set to fixed
  • Status changed from assigned to closed

Closed by PR 40 on sasmodels.

Changeset 587cbcd11accde4629ae70dea4e268ca5893f462

Note: See TracTickets for help on using tickets.