Skip to content

Updates dostrings in controlsClass, RAT function, plotting and some utilities#342

Merged
StephenNneji merged 4 commits intoRascalSoftware:masterfrom
StephenNneji:update_docstrings
Feb 13, 2025
Merged

Updates dostrings in controlsClass, RAT function, plotting and some utilities#342
StephenNneji merged 4 commits intoRascalSoftware:masterfrom
StephenNneji:update_docstrings

Conversation

@StephenNneji
Copy link
Collaborator

As part of #254

I added some info on the result struct into the RAT function docstring probably can be improved. Modified setProcedure so options are arguments not in a cell array. Also renamed problem to project in some places

Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, please have a look at the use of tab, which seem a bit off in a few places. I've also made some suggestions on how some of the descriptions can be improved, see what you think. I'll need to have a bit more thought about the Bayes results, see what you can come up with.

% shiftedData [nContrasts x 1] cell Data shifted using given scale factor
% backgrounds [nContrasts x 1] cell background values for each contrast
% resolutions [nContrasts x 1] cell resolution values for each contrast
% layerSlds [nContrasts x nDomains] cell layers parameter values for each contrast
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but why is it called "layerSlds" when it also includes thickness and roughness???

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I lifted the description from one of the docstrings

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, sorry. It was a more open/rhetorical question. Maybe one to look at on Monday.

Copy link
Collaborator

@alexhroom alexhroom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some extra small comments from looking at this in the Python!

Copy link
Collaborator

@DrPaulSharp DrPaulSharp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just a couple of minor things to sort out.

@StephenNneji StephenNneji merged commit ff651d0 into RascalSoftware:master Feb 13, 2025
5 checks passed
@StephenNneji StephenNneji deleted the update_docstrings branch September 3, 2025 13:14
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.

3 participants