-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add function for coordinates. #13
Conversation
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 0.83%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Very neat! Can you add documentation and examples to the README and the Jupyter notebook showing how to use it? |
Sorry for the late reply. I noticed that you are putting everything into function Let me know what else I can do. |
BTW, I'd suggest splitting the function
What do you think? |
I think these are all good ideas. I have to concede, however, that I don't even use this package myself because my job has changed. I'm happy to maintain it, but putting a lot of effort into improving it doesn't make a lot of sense for me. I'm happy to accept pull requests and consider them, though. |
Do you have latex code showing how to plot these outputs? |
Here is one: https://timodenk.com/blog/latex-plot-snippets/screen-shot-2017-02-18-at-15-10-07/
Benwei
… On Mar 15, 2023, at 9:39 AM, Joseph C. Slater ***@***.***> wrote:
Do you have latex code showing how to plot these outputs?
—
Reply to this email directly, view it on GitHub <#13 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADWIDNFJSXJZGLGUPO4GZYDW4HPCFANCNFSM6AAAAAAVHUPH74>.
You are receiving this because you authored the thread.
|
I meant, can you put something in the docs as an example with an additional pull request? |
Hi @josephcslater and @benweishi |
Would it not have been better to just join the project and incorporate updates instead of "yet another" project? If it's the same direction, it just adds confusion to the package ecosystem. |
Well as @benweishi mentioned there was quite a lot of refactoring that could be done, as well as adding tools to automate building and publishing, a testing framework, and linting and codestyle tools on top of that. It's a lot easier to start off with that framework then add the application code on top as opposed to trying to integrate them into existing packages. I looked at the other existing packages and a lot of them haven't been updated for several years. So normally I'd agree with you but I think in this instance it was actually just a lot easier to start again |
I don't disagree with refactoring, etc. Perhaps releasing it same name, but rewritten from scratch as a major release. |
Yep that's a good point, didn't think about that |
I think @josephcslater is still actively managing this project. But do let us know when you can't, just don't let it die. |
I won't let it die. I'm just not day-to-day coding, so it take me some time. This project is far enough along that rapid development isn't needed, but I do want to get these inputs into the project. FYE: I've maintained the Engineering Vibration Toolbox for 32 year, so... I don't walk away from my projects. (Google Vibration Toolbox) |
In the notebook, I added some latex code of a minimal example which use the |
I am leaving another note here for future refactoring. def format(A, prefix, suffix, f) I know |
Hi, I add one more format.
If
a=[[x1,y1],[x2,y2],...]
The new function
to_coords(a, frmt)
will output{(x1,y1),(x2,y2), ...}
This format is useful for plotting data in latex.
If you feel it is useful, please merge it into your package.