dataplot.bike.models
index
/home/thocking/dataplot/docs/htdocs/pydoc/dataplot/bike/models.py

Record of bike trips for data analysis.
 
Demonstration app for dataplot.

 
Modules
       
dataplot.R
datetime
dataplot.plotmodels
os
pdb

 
Classes
       
dataplot.plotmodels.Model(django.db.models.base.Model)
Bike
Location
Ride
django.db.models.manager.Manager(__builtin__.object)
RideManager
Bike = <class 'dataplot.bike.models.Bike'> Location = <class 'dataplot.bike.models.Location'> Ride = <class 'dataplot.bike.models.Ride'>

 
class RideManager(django.db.models.manager.Manager)
    Used for making global ride plots and importing data.
 
 
Method resolution order:
RideManager
django.db.models.manager.Manager
__builtin__.object

Methods defined here:
CorrScatter_args = _curried(*moreargs, **morekwargs)
__init__(self)
create_from_file(self, filename)
Create new bike rides based on records in a text file.
create_from_file_default(self)
Create new bike rides based on default dataset.
from_to(self, org, dest)
Shortcut for searching from and to by short_name.
get_corr_args(self)
Arguments for making the daily correlation scatterplot.
get_date_dict(self)
Sort rides based on date in a dictionary.
get_odoplot_args(self)
Get arguments for the time series plot.
 
If no data present, create some from the default dataset.

Data and other attributes defined here:
__slotnames__ = []

Methods inherited from django.db.models.manager.Manager:
all(self)
complex_filter(self, *args, **kwargs)
contribute_to_class(self, model, name)
count(self)
create(self, **kwargs)
dates(self, *args, **kwargs)
distinct(self, *args, **kwargs)
exclude(self, *args, **kwargs)
extra(self, *args, **kwargs)
filter(self, *args, **kwargs)
get(self, *args, **kwargs)
get_empty_query_set(self)
get_or_create(self, **kwargs)
get_query_set(self)
Returns a new QuerySet object.  Subclasses can override this method
to easily customize the behavior of the Manager.
in_bulk(self, *args, **kwargs)
iterator(self, *args, **kwargs)
latest(self, *args, **kwargs)
none(self)
order_by(self, *args, **kwargs)
select_related(self, *args, **kwargs)
values(self, *args, **kwargs)

Data and other attributes inherited from django.db.models.manager.Manager:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'Manager' objects>
list of weak references to the object (if defined)
creation_counter = 50

 
Functions
       
tup_to_minutes(h, m, s)

 
Data
        PAIRED_RIDES_SQL = '\nselect x.date,x.hours,x.minutes,x.seconds,y.hou...gin_id=%s and y.destination_id=%s order by date;\n'
connection = <django.db.backends.postgresql.base.DatabaseWrapper object>
matplotlib = None