Skip to content

Modified SLD profiles.#440

Open
arwelHughes wants to merge 6 commits into
RascalSoftware:masterfrom
arwelHughes:modified_slds
Open

Modified SLD profiles.#440
arwelHughes wants to merge 6 commits into
RascalSoftware:masterfrom
arwelHughes:modified_slds

Conversation

@arwelHughes
Copy link
Copy Markdown
Collaborator

@arwelHughes arwelHughes commented May 22, 2026

This PR fixes two issues in RasCAL2:

  • Issue 215: This bug was caused by the total range for the SLD plots not being sufficient when large roughness' are used in the last layer if standard layer models. 'makeSLDProfile' has been modified to extend the range of the profile to cover the 99% interval of the outer error function.

  • Issue 205: SLD profiles should always be aligned to the substrate edge. This happens automatically for substrate/liquid profiles, but for air/substrate samples should be aligned to the other end. To fix this, 'plotRefSLD' has been modified to align the substrates in A/L projects by padding the start of the SLD's.

@arwelHughes arwelHughes requested a review from DrPaulSharp May 22, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant