Closed syasini closed 4 years ago
Sorry @timothydmorton, I just saw all your comments! :D
Cool, I'll keep it simple. Since you had added the Data
class to the data module I thought I would also add the data loading and plotting functions as methods for that.
Should we at least use .k
and .P_k
instead of .x
and .y
for data?
I reset the last few commits and made the changes that you requested. Let me know if it looks good.
I'm submitting this on behalf of @aryanrahimieh. He was unable to create a pull request from his fork (possibly due to bug in the web browser) so I rewrote and pushed it to the
feature/data
branch.I changed the
Data
attributesx
, andy
tok
andP_k
to be more expressive.I also added the
load_pk_data
function as a method for theData
class.