-
Notifications
You must be signed in to change notification settings - Fork 4
Unifies the contrast number used by python and cpp to be same with matlab and Data points now show when show_error is False
#197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
5ead5bb to
7c15526
Compare
DrPaulSharp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good by and large, could you please review the jupyter notebook DSPC_custom_layers.ipynb and confirm whether you intend to make such substantial changes.
| if contrast == 1 or contrast == 3: | ||
| if contrast == 2 or contrast == 4: | ||
| output = [alloyUp, gold, SAMTAILS, SAMHEAD, CW, *BILAYER] | ||
| else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth changing this line to elif contrast == 1 or contrast == 3: to improve clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with elsewhere in this PR.
| @@ -2,7 +2,7 @@ | |||
| "cells": [ | |||
| { | |||
| "cell_type": "code", | |||
| "execution_count": 1, | |||
| "execution_count": 25, | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this line be changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few more examples in the file.
| "+-------+------------+------------------------+---------------------+----------+-------------------------------------------------------------------------------------+\n", | ||
| "| index | name | filename | function name | language | path |\n", | ||
| "+-------+------------+------------------------+---------------------+----------+-------------------------------------------------------------------------------------+\n", | ||
| "| 0 | DSPC Model | custom_bilayer_DSPC.py | custom_bilayer_DSPC | python | C:\\Users\\steve\\Documents\\Development\\python-RAT\\ratapi\\examples\\normal_reflectivity |\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, having either of your of my paths here isn't ideal.
Fixes # 165
Data points now show when
show_erroris False