Skip to content
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

[NF] Write data to .csv file #20

Open
RaphaelPile opened this issue Feb 26, 2021 · 5 comments
Open

[NF] Write data to .csv file #20

RaphaelPile opened this issue Feb 26, 2021 · 5 comments

Comments

@RaphaelPile
Copy link
Contributor

The idea of this new feature would be to easily write data into csv files with names in column headers, and data on the rows.
It is very practical to integrate in Latex, but it does not prevent you from doing some small additional calculations with software such OpenCalc or Microsoft Excel. Of course, the idea could be extended to other type of files.

@SebGue
Copy link
Contributor

SebGue commented Feb 26, 2021

Hello Raphaël, I was thinking about a winding matrix export (in pyleecan). So I may utilize this feature. Do you it will be possible to write such multi dimensional data in a senseful way to a csv too?

@RaphaelPile
Copy link
Contributor Author

Hello Seb,

I was mainly thinking about usual 2D plot (a function of time, frequency etc.).
3D plot seems possible by using columns.
I don't know if it will be relevant for higher dimensions. Maybe writing several csv files for different variable (on for each phase etc.).

Is it what you were thinking of ?

@helene-t
Copy link
Collaborator

We could use sheets for a 3rd dimension.

@SebGue
Copy link
Contributor

SebGue commented Feb 26, 2021

Thanks for your ideas. I would prefer a one file solution. But I don't want you to get headache because of this :-)
So I may implement a specific solution for windings only.

@RaphaelPile
Copy link
Contributor Author

This feature has been started in commit 433f8e1. I will try to find some time to automatically write Latex/Tikz figure based on plot_2D_data before closing this issue.

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

No branches or pull requests

3 participants