Package sabx10 :: Package profiles
[hide private]
[frames] | no frames]

Source Code for Package sabx10.profiles

 1  ############################################################################### 
 2  # 
 3  # sabx10 - an SABX file manipulation library 
 4  # Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com) 
 5  # 
 6  # This file is part of sabx10. 
 7  # 
 8  # sabx10 is free software: you can redistribute it and/or modify it under the 
 9  # terms of the GNU General Public License as published by the Free Software 
10  # Foundation, either version 3 of the License, or (at your option) any later 
11  # version. 
12  # 
13  # sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY 
14  # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
15  # A PARTICULAR PURPOSE.  See the GNU General Public License for more details. 
16  # 
17  # You should have received a copy of the GNU General Public License along with 
18  # sabx10.  If not, see <http://www.gnu.org/licenses/>. 
19  # 
20  ############################################################################### 
21  """ 
22  This package plots the elevation profiles for rides and their segments from an 
23  SABX file.  The profiles are saved as PNG files.  It also provides the ability 
24  to convert a PNG profile into a PDF file. 
25   
26  The entry points for the package are L{plot_all_rides} in the 
27  L{sabx10.profiles.profiles} module and L{ride_profiles_to_pdfs} in the 
28  L{sabx10.profiles.profiles_pdf} module. 
29   
30  For examples of what ride profiles look like, go to 
31  U{SABikeRides.com<http://www.sabikerides.com/>}, which contains a bunch of 
32  rides to choose from. 
33   
34  Copyright 
35  ========= 
36   
37  The sabx10.profiles package is part of sabx10. 
38   
39  sabx10 - an SABX file manipulation library 
40  Copyright (C) 2009, 2010 Jay Farrimond (jay@sabikerides.com) 
41   
42  sabx10 is free software: you can redistribute it and/or modify it under the 
43  terms of the GNU Lesser General Public License as published by the Free 
44  Software Foundation, either version 3 of the License, or (at your option) any 
45  later version. 
46   
47  sabx10 is distributed in the hope that it will be useful, but WITHOUT ANY 
48  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
49  PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more 
50  details. 
51   
52  You should have received a copy of the GNU Lesser General Public License along 
53  with sabx10.  If not, see U{http://www.gnu.org/licenses/}. 
54  """ 
55  from profiles import plot_all_rides 
56  from profiles_pdf import ride_profiles_to_pdfs 
57