Skip to content

Add "download eigenvalues/eigenvectors" button on the web app #67

@moorepants

Description

@moorepants

The eigenvalue plot has data for multiple lines plotted against the independent variable (speed). There are four eigenvalues and each have real and imaginary parts. So you want to be able to download the plotted data in to a CSV file that looks like:

speed,eval1_real,eval2_real,eval3_real,eval4_real,eval1_imag,eval2_imag,eval3_imag,eval4_imag
3.0,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx,x.xxx

The x.xxx should be values printed to 14 decimal places using '{:1.14f}'.format(eval1_real).

This function calculates the eigenvalues: https://github.com/moorepants/BicycleParameters/blob/master/bicycleparameters/main.py#L853

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions