<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>dataplot.bike.models</title>
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="dataplot-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<font size="-1"><b class="breadcrumbs">
<a href="dataplot-module.html">Package dataplot</a> ::
<a href="dataplot.bike-module.html">Package bike</a> ::
Module models
</b></font></br>
</td>
<td><table cellpadding="0" cellspacing="0">
<tr><td align="right"><font size="-2">[show private | <a href="../public/dataplot.bike.models-module.html">hide private</a>]</font></td></tr>
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="dataplot.bike.models-module.html" target="_top">no frames</a>]</font></td></tr>
</table></td>
</tr></table>
<!-- =========== START OF MODULE DESCRIPTION =========== -->
<h2 class="module">Module dataplot.bike.models</h2>
<p>Record of bike trips for data analysis.</p>
Demonstration app for dataplot.
<hr/>
<!-- =========== START OF CLASSES =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Classes</th></tr>
<tr><td width="15%">
<b><a href="dataplot.bike.models.Bike-class.html"><code>Bike</code></a></b></td>
<td>Parameters of bike -- different bikes may be different speeds.</td></tr>
<tr><td width="15%">
<b><a href="dataplot.bike.models.Location-class.html"><code>Location</code></a></b></td>
<td>Origin or destination of a bike ride.</td></tr>
<tr><td width="15%">
<b><a href="dataplot.bike.models.Ride-class.html"><code>Ride</code></a></b></td>
<td>Ride and associated statistics.</td></tr>
<tr><td width="15%">
<b><a href="dataplot.bike.models.RideManager-class.html"><code>RideManager</code></a></b></td>
<td>Used for making global ride plots and importing data.</td></tr>
</table><br />
<!-- =========== START OF FUNCTION SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Function Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
<td><code><a name="tup_to_minutes"></a><span class="summary-sig"><span class="summary-sig-name">tup_to_minutes</span>(<span class=summary-sig-arg>h</span>,
<span class=summary-sig-arg>m</span>,
<span class=summary-sig-arg>s</span>)</span></code>
</td></tr>
</table><br />
<!-- =========== START OF VARIABLE SUMMARY =========== -->
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="summary">
<th colspan="2">Variable Summary</th></tr>
<tr><td align="right" valign="top" width="15%"><font size="-1"><code>str</code></font></td>
<td><b><a href="dataplot.bike.models-module.html#PAIRED_RIDES_SQL"><code>PAIRED_RIDES_SQL</code></a></b> = <span title="'\nselect x.date,x.hours,x.minutes,x.seconds,y.hours,y.minutes,y.seconds\nfrom bike_ride as x join bike_ride as y on x.date=y.date where\nx.origin_id=%s and x.destination_id=%s and\ny.origin_id=%s and y.destination_id=%s order by date;\n'"><code><span class="variable-quote">'</span>\nselect x.date,x.hours,x.minutes,x.<span class="variable-ellipsis">...</span></code>
</span></td></tr>
</table><br />
<!-- =========== START OF VARIABLE DETAILS =========== -->
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="details">
<th colspan="2">Variable Details</th></tr>
</table>
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
<a name="PAIRED_RIDES_SQL"></a>
<h3>PAIRED_RIDES_SQL</h3>
<dl>
<dt></dt>
<dd>
<dl>
<dt><b>Type:</b></dt>
<dd>
<code>str</code>
</dd>
<span title="'\nselect x.date,x.hours,x.minutes,x.seconds,y.hours,y.minutes,y.seconds\nfrom bike_ride as x join bike_ride as y on x.date=y.date where\nx.origin_id=%s and x.destination_id=%s and\ny.origin_id=%s and y.destination_id=%s order by date;\n'"> <dt><b>Value:</b></dt>
<dd><table><tr><td>
<pre class="variable">
<span class="variable-quote">'''</span>
select x.date,x.hours,x.minutes,x.seconds,y.hours,y.minutes,y.seconds
from bike_ride as x join bike_ride as y on x.date=y.date where
x.origin_id=%s and x.destination_id=%s and
y.origin_id=%s and y.destination_id=%s order by date;
<span class="variable-quote">'''</span> </pre>
</td></tr></table></dd>
</span> </dl>
</dd>
</dl></td></tr></table>
<br />
<!-- =========== START OF NAVBAR =========== -->
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
<tr valign="center">
<th class="navbar"> <a class="navbar" href="dataplot-module.html">Home</a> </th>
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Tue Apr 29 23:35:17 2008</font></td>
<td align="right"><a href="http://epydoc.sourceforge.net"
><font size="-2">http://epydoc.sf.net</font></a></td>
</tr>
</table>
</body>
</html>