TeaspoonTDA / teaspoon

Topological Signal Processing in Python
https://teaspoontda.github.io/teaspoon/
GNU General Public License v3.0
22 stars 9 forks source link

Clean up Dynamic Systems Library #86

Open maxchumley opened 8 months ago

maxchumley commented 8 months ago

There is no way to know the system key for simulation without opening the source code. The system key name should be documented in the PDF that outlines all available systems.

Some systems also subsample signals without warning so we should warn the user or remove any subsampling.

lizliz commented 2 months ago

Agreed! I was just looking into the documentation and realized the same problem. We have the autodocumentation feature, this should be reasonable to add although likely will need a bunch of code annotation cleanup. What's the chance you two wanna take this on @maxchumley @stanweer1 ?

lizliz commented 2 months ago

Nevermind, I'm gonna take this on. I'm reorganizing the entire documentation folder structure because of it, but i made a branch (see link to the right) if you want to poke around

lizliz commented 2 months ago

Ok, so I just pushed the reorganization of the doc_source folder to the branch. I haven't even started getting the DynSysLib autodocumentation working yet, but at least the structure feels more under control. Todos:

lizliz commented 2 months ago

Ok, now I have a better sense of why this is a problem. @stanweer1 and @maxchumley I have a version of what I think we should do, so I'm hoping you two can go through the rest of the library and do something parallel.

I have all the rst files set up for DynSysLib and everything is autodocumenting in the branch associated to this issue. In particular, you can see the list of files in the DynSysLib page with the goal of eventually replacing the giant table. image

The problem is that the simulations are inside one giant function in each .py file, so autodocumenting gives us no information. So, your job is to clean up the rest of the files in the folder with the following changes, doing everything in parallel to what I did for the Periodic Functions version.

lizliz commented 2 months ago

Oops, that shouldn't have closed the issue. It's only partially fixed :D