Skip to main content

Generates and manipulates the physical parameters of a bicycle.

Project description

A python program designed to produce and manipulate the basic parameters needed for the Whipple bicycle model.

Dependencies

These are the versions that I tested the code with, but the code will most likely work with older versions.

Required

Optional

These are required to bulid the documentation:

Installation

The easiest method to download and install is with pip:

$ pip install BicycleParameters

There are other options for getting the source code:

  1. Clone the source code with Git: git clone git://github.com/moorepants/BicycleParameters.git

  2. Download the source from Github.

  3. Dowload 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 and you should be able to import it with:

>>> 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)

Documentation

Please refer to the online documentation for more information.

Release Notes

0.1.3

  • Speed increase for the eigenvalue calculations.

  • Added measurements for the human configuration on some bikes.

0.1.2

  • Fixed the tex related bug for the pendulum fit plots

  • Fixed some import bugs affecting the split fork/handlebar calcs

0.1.1

  • changed the default directory to .

  • added pip install notes

  • fixed urls in setup.py and the readme

  • added version number to the package

  • removed the human machine classifier

  • reduced the size of the images in the docs

  • broke bicycleparameters.py into several modules

  • updated the documentation

0.1.0

Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

BicycleParameters-0.1.3.tar.gz (43.8 kB view details)

Uploaded Source

File details

Details for the file BicycleParameters-0.1.3.tar.gz.

File metadata

File hashes

Hashes for BicycleParameters-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9b1e8d8b14d5f5728f8640f94917efff5b1010933d14a3addb226d4e4d2f8dd6
MD5 1f04a92ab27a0a33c80f05f19b4bf06c
BLAKE2b-256 2a4643aa7758c0ff99ced5345d4b51aa8c0a2933645bdc6877df014abfc88eeb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page