Skip to content

moorepants/BicycleParameters

Repository files navigation

BicycleParameters

A Python program designed to generate, manipulate, and visualize the parameters of the Whipple-Carvallo bicycle model.

Download from PyPi PyPi
Download from Anaconda Anaconda
Documentation Documentation Status
CI Status GHCI
Render App

Dependencies

Required

Optional

These are required to run the Dash web application:

These are required to build the documentation:

Installation

We recommend installing BicycleParameters with conda or pip.

For conda:

$ conda install -c conda-forge bicycleparameters

For pip:

$ pip install BicycleParameters

The package can also be installed from the source code. The options for getting the source code are:

  1. Clone the source code with Git: git clone git://github.com/moorepants/BicycleParameters.git
  2. Download the source from Github.
  3. Download the source from pypi.

Once you have the source code navigate to the directory and run:

>>> python setup.py install

This will install the software into your system. You can check if it installs with:

$ python -c "import bicycleparameters"

Example Code

>>> import bicycleparameters as bp
>>> import numpy as np
>>> rigid = bp.Bicycle('Rigid')
>>> par = rigid.parameters['Benchmark']
>>> rigid.plot_bicycle_geometry()
>>> speeds = np.linspace(0., 10., num=100)
>>> rigid.plot_eigenvalues_vs_speed(speeds)

Sample Data

Some sample data is included in the repository but a full source with all the raw data files can be downloaded from here:

http://dx.doi.org/10.6084/m9.figshare.1198429

Documentation

Please refer to the online documentation for more information.

Grant Information

This material is partially based upon work supported by the National Science Foundation under Grant No. 0928339. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

This material is partially based upon work supported by the TKI CLICKNL grant "Fiets van de Toekomst"(Grant No. TKI1706).

About

Calculates the geometry, masses, centers of mass, and the moments of inertia of the bicycle rider system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages