SciDataTool
                                
                                
                                
                                    SciDataTool copied to clipboard
                            
                            
                            
                        [NF] Write data to .csv file
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.
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?
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 ?
We could use sheets for a 3rd dimension.
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.
This feature has been started in commit 433f8e1543067785ab0866e1fba63863ca33de6b. I will try to find some time to automatically write Latex/Tikz figure based on plot_2D_data before closing this issue.