Skip to content

Conversation

@StephenNneji
Copy link
Contributor

Fixes # 165

Data points now show when show_error is False

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.

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:
Copy link
Collaborator

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?

Copy link
Collaborator

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,
Copy link
Collaborator

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?

Copy link
Collaborator

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",
Copy link
Collaborator

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.

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.

2 participants