ndcbe / data-and-computing

CBE 20258 and CBE 60258: (Advanced) Data and Computing
4 stars 28 forks source link

Chapter 2 Cleanup #18

Closed E-Ream closed 2 years ago

E-Ream commented 2 years ago

Modeling Systems of Linear Equations

Gaussian Elimination

LU Decomposition and Condition Number

Example: Mass Balances and Linear Algebra

adowling2 commented 2 years ago

Currently, JupyterBook is configured to rerun all of the notebooks on my computer when I publish to the website. I likely forgot to install numpy. But, we could easily change it to NOT rerun the notebooks. This would just require @E-Ream and @jkeane14 to run them at the end of editing. Although this is a little more work, it would allow us to keep output that required a solution the was removed.

adowling2 commented 2 years ago

Also, I just installed numpy on my conda environment and rerun the publish scripts. The missing module issue should be fixed. Tell me here if it was not.

E-Ream commented 2 years ago

@adowling2 @jkeane14 It looks like the numpy missing module issues is fixed on the published website now, so yes it worked. I'm good with changing the publish script such that it doesn't rerun the notebooks so that we can decide more specifically what cells we want to show output.

adowling2 commented 2 years ago

Great. I updated the configuration file on main to not re-execute the notebooks.

E-Ream commented 2 years ago

@adowling2 I understand that we have figured out how to fix the LaTeX formatting issue for markdowns with the double $$ by adding the extra empty line above and below. However, we did not yet figure out fixing the formatting within the highlighted activity box markdowns, correct? I wanted to make sure I can fix as much as possible while going through the notebooks again. image

adowling2 commented 2 years ago

Here are some additional requests @E-Ream:

@E-Ream I accidentally posted this request to PR #21 instead of this issue. I am moving the list to here to be in the same place as your other lists.

Split Gaussian Elimination into two notebooks:

Split LU Decomposition and Condition Number into two notebooks:

Prepare linear algebra in Numpy Tutorial

E-Ream commented 2 years ago

@adowling2 Concerning the Linear Algebra Numpy Tutorial: 1) All of the pictures are referenced from a figures folder that I do not have access to, could you share that with me? 2) Would you like the two notebooks to be merged into one large tutorial or keep them separate? 3) Some of the topics discussed in the tutorial notebooks haven't been covered yet in our notebooks (i.e. Finite Difference isn't until Chap 3). Would you still like this to be in the Chap 2 folder?

adowling2 commented 2 years ago

The images should be in this repo: https://github.com/ndcbe/CBE60499

I would like to not have any images in the new version but instead have the material typeset in the notebooks. The images were something quick for the first draft.

Let's focus on this just the first notebook for now. For the second notebook, I think we'll want to move that to the Taylor series chapter. We'll also remove content that is redundant with what we already have. (I repurposed CBE 20258 notebooks for CBE 60258.)

adowling2 commented 2 years ago

A few more issues (after publishing draft 2):

https://ndcbe.github.io/data-and-computing/notebooks/01-publish/06-NumPy.html

adowling2 commented 2 years ago

@E-Ream A few more things to clean up:

https://ndcbe.github.io/data-and-computing/notebooks/02-publish/05-Linear-Algebra-in-Numpy.html

https://ndcbe.github.io/data-and-computing/notebooks/02-publish/03-LU-Factorization.html

https://ndcbe.github.io/data-and-computing/notebooks/02-publish/03b-Condition-Number.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/02-publish/04-Example-Atomic-Mass-Balances.html