Re: Re: Scientific Data Frontend with Django
> Hello, > > Markus Becker schrieb: > > Hi, > > > > last week I started something in this direction. Similarly to admin.py > > (which describes how to administrate the data) there is a graph.py, > > which describes how to graph the data. It is still very rough on the > > edges, but you can use matplotlib in graph.py to create a plot of the > > data. Possibly one could also create predefined classes, that create > > specific matplotlib plots without any code in graph.py except for > > annotations, e.g. which data to use as x or y data. > > > > If you are interested, I could send you a svn diff on trunk and a > > sample project. I would be interested in hearing comments on this and > > see whether it could be merged into Django. > > I am interested in this. (I am not quite shure it is what i need for > what i want to do.) Possibly not. You can interface Django already with matplotlib (see http://www.scipy.org/Cookbook/Matplotlib/Django), this is however very individual to each graph. I have done this previously as well. Here, I am trying to create a generic infrastructure for plotting data, more or less directly from the model. Assuming you have a model named SampleData: Similar to the class SampleDataOptions(admin.ModelAdmin), you could then have the class SampleDataGraph(mpl.MplPlot), which describes how to use the data for plotting. Attached are 2 things: 1) django_contrib_graph.svndiff: svn diff from django trunk Revision: 11368 adding a prototype of a generic plotting infrastructure for Django. 2) dj-mpl.tgz: A sample Django project based on above infrastructure changes. So, if this helps you: Fine. If not, hopefully it might be of interest to the Django developers as a (limited) prototype of such a plotting module, showing the viability. I would like to hear about other design options. BR, Markus > I want to create a page that plots data from a lightmeter-network. The aim > is to monitor lightpollution. So far i have python-skripts (by Dr. > Wuchterl, an Astronomer in Jena) that can plot this using matplotlib. My > aim is to make this accesible to regular users that might want to plot how > light or dark for instance last week was in Berlin. > [...] > > greetings > > jan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~--- dj-mpl.tgz Description: application/compressed-tar Index: django/contrib/admin/sites.py === --- django/contrib/admin/sites.py (revision 11368) +++ django/contrib/admin/sites.py (working copy) @@ -368,6 +368,7 @@ 'app_list': app_list, 'root_path': self.root_path, } +print "Extra", extra_context context.update(extra_context or {}) context_instance = template.RequestContext(request, current_app=self.name) return render_to_response(self.index_template or 'admin/index.html', context, Index: django/contrib/graph/MplGraphCreator.py === --- django/contrib/graph/MplGraphCreator.py (revision 0) +++ django/contrib/graph/MplGraphCreator.py (revision 0) @@ -0,0 +1,54 @@ +from django.http import Http404, HttpResponse +from django.contrib import graph + +from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas +from matplotlib.figure import Figure + +import random # TODO: remove after debugging + +class MplGraphCreator(object): +def __init__(self): +pass + +def render(self, context): +"Display stage -- can be called many times" + +print "Context", context +print "Object list", context['object_list'] + +if context['object_list'][0] != None: +gm = graph.site.get_graph_for_model(context['object_list'][0].__class__) +gm.clear_data() +#print gm + +fig = Figure() +ax = gm.plot_setup(fig) + +for obj in context['object_list']: +gm.add_data(obj) + +gm.plot_func(ax) + +canvas = FigureCanvas(fig) + +hr = HttpResponse(content_type='image/png') +canvas.print_png(hr) + +return hr +else: +raise Http404 + +# fig=Figure() +# ax=fig.add_subplot(111) +# x=[] +# y=[] + +# for i in range(10): +# x.append(i) +# y.append(random.randint(0, 100)) +# ax.plot(x, y, '-') + +# canvas=FigureCanvas(fig) +# canvas.print_png(hr) + +#return hr Index: django/contrib/graph/__init__.py
Re: Scientific Data Frontend with Django
Hallöchen! derek writes: > On Aug 3, 1:31 pm, Torsten Bronger> wrote: > >> [...] >> >> My scientific institute is about to create a database for the >> samples (thin silicon layers) produced here. We have already >> 15.000 lines of Django code, which is half of the way I estimate. >> >> Is anybody interested in building a small community around it? >> In particular, an adaption to a specific institution would need >> ca. 10.000 LOC, but an "apparatus library" of re-usable >> components could help with that significantly. > > I work in a science research organisation and would be interested. > The only downside would the volume of code you estimate is needed. > 10k/30k is about 1/3 that needs rewriting for each organisation? Yes. This is the part with the models and views for production and measurement systems. Deposition systems, clean room processes, evaporation, microscopes, profilometers, conductivity, Hall, thermopower, characteristic curves, just to mention 1% of the things that are out there. And a deposition system in your organisation may be totally different from one in my organisation, needing different attributes and methods. You see, a turnkey solution is impossible. It is not even feasible to offer an admin interface for creating new apparatuses on-the-fly because its too inflexible. However, a public meta-database of generic types of apparatuses which can be easily adopted would help greatly with that I think. > [...] > > I'd think that there would be many in universities and "open > science" organisations (as opposed to proprietary research > companies) that could help with such an effort. My impression was that it's a good strategy for becoming rich. ;-) There is no such thing out there, and a huge demand. Apparently, every scientific institution has its own home-brewn more-or-less-flawed system based on Access or Excel. Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus Jabber ID: torsten.bron...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
On Aug 3, 1:31 pm, Torsten Brongerwrote: > Hallöchen! > > blaine writes: > > [...] > > > My question: Has anyone used (or heard of using) a Django-powered > > application as a quick and powerful frontend to a scientific > > database? > > My scientific institute is about to create a database for the > samples (thin silicon layers) produced here. We have already 15.000 > lines of Django code, which is half of the way I estimate. > > Is anybody interested in building a small > community around it? In particular, an adaption to a specific > institution would need ca. 10.000 LOC, but an "apparatus library" of > re-usable components could help with that significantly. Torsten I work in a science research organisation and would be interested. The only downside would the volume of code you estimate is needed. 10k/30k is about 1/3 that needs rewriting for each organisation? That sounds very high. Maybe once the dust settles on this project and the refactoring can be done, the re-usability will be higher? I'd think that there would be many in universities and "open science" organisations (as opposed to proprietary research companies) that could help with such an effort. It's also clear that some thought will need to go into this "up front" in order to maximise reuse of code. My 2c Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
Hallöchen! blaine writes: > [...] > > My question: Has anyone used (or heard of using) a Django-powered > application as a quick and powerful frontend to a scientific > database? My scientific institute is about to create a database for the samples (thin silicon layers) produced here. We have already 15.000 lines of Django code, which is half of the way I estimate. We use MatPlotLib for visualising measurements of the samples, and this works really great. It's important for us -- and in my opinion in general -- that the plots are generated from raw data, taken from shared directories. When there is a request for a plot (i.e. a PDF or PNG file) but it is missing, MatPlotLib is called and the graphics are stored in the static area for future use. With Django's terrific i18n support, it was very easy to offer variants of the plots for every language. However, so far, the database is closed source. I hope that this changes within the next six months or so. Then, I plan to split the institute-specific part away and publish the rest as a framework-in-a-framework. Is anybody interested in building a small community around it? In particular, an adaption to a specific institution would need ca. 10.000 LOC, but an "apparatus library" of re-usable components could help with that significantly. Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus Jabber ID: torsten.bron...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
My grain of salt: I use django with matplotlib for a data plotting view in a status control app. It is updated every 20sec or so. With plotting embedded in my django app and called via ajax i encountered a memory leak within numpy and/or matplotlib that caused to crash the server after a week of operation or so. I didn't have spare time and will to search for it and localize the bug so i considered to outsource the data plot into an external (unix) process as a quick+dirty workaround. Giving it some command line parameters it yields a .png. The process is called explizitly every time and thus memory is cleared. I have been keeping up django data viewing for several month now without any problems. Maybe you have to take this into account if you want to use matplotlib. And maybe this is not true anymore with the newest version of it. Have fun. Frank Markus Becker schrieb: > Hi, > > last week I started something in this direction. Similarly to admin.py > (which describes how to administrate the data) there is a graph.py, > which describes how to graph the data. It is still very rough on the > edges, but you can use matplotlib in graph.py to create a plot of the > data. Possibly one could also create predefined classes, that create > specific matplotlib plots without any code in graph.py except for > annotations, e.g. which data to use as x or y data. > > If you are interested, I could send you a svn diff on trunk and a > sample project. I would be interested in hearing comments on this and > see whether it could be merged into Django. > > BR, > Markus > > On Jun 18, 10:28 pm, jordanwrote: > >> I've been wanting to do a similar kind of project for a long time. >> Just haven't found anyone else who was interested. >> >> So, if anyone wants to try to build something like this, send me a >> note. >> >> Jordan >> >> On Jun 18, 2:11 pm, Vincent wrote: >> >> >>> Good question. Don't know. My guess is that if you just want to show >>> the data in a view using data structures Django knows might be >>> quicker. However, if you are going to process the data (graphs, >>> summary stats, etc.) you might prefer to have numpy arrays to work >>> with. >>> >>> Vincent >>> >>> On Jun 18, 2:02 pm, Blaine Booher wrote: >>> Thanks for the link, Vincent. Is it easy to have the django view system (generic views) use a PyTables data structure, or would that be a pretty large feat by itself? Definitely worth considering, pyTables boasts great performance. Blaine On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > If you have a lot of data pytables may be an option (see link below). > It can store data as numpy arrays directly rather than having to > convert to such an array after reading from an sql database. > > http://www.pytables.org > > Vincent > > On Jun 18, 1:15 pm, Blaine Booher wrote: > >> Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. >> This is definitely a route I am going to explore. I'll post some updates >> > to > >> the list if anything comes out of it. >> >> Would you recommend importing the data into django models and tables, or >> keeping the db separate and independent? >> >> Blaine >> >> On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera >> > wrote: > >>> I think it would be really great if you can interface with R too. >>> > There`s a > >>> library to acces to R power from Python, and then from Django. >>> >>> 2009/6/18 Nick Fishman >>> >>> A friend of mine is using Django with matplotlib to create graphs from >>> > CSV > files, and it's turning out pretty well. I haven't yet tried > googlecharts, > but it looks promising. The main difficulty he had with Matplotlib was transitioning to Apache/mod_python after working with the Django development server. > The > Matplotlib commands he was calling worked fine on his desktop, but > then > complained of a non-existent X11 connection once he tried the code on Apache. The solution is one additional line of code, and is detailed > at > > http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...similar > problems.
Re: Scientific Data Frontend with Django
Hi, last week I started something in this direction. Similarly to admin.py (which describes how to administrate the data) there is a graph.py, which describes how to graph the data. It is still very rough on the edges, but you can use matplotlib in graph.py to create a plot of the data. Possibly one could also create predefined classes, that create specific matplotlib plots without any code in graph.py except for annotations, e.g. which data to use as x or y data. If you are interested, I could send you a svn diff on trunk and a sample project. I would be interested in hearing comments on this and see whether it could be merged into Django. BR, Markus On Jun 18, 10:28 pm, jordanwrote: > I've been wanting to do a similar kind of project for a long time. > Just haven't found anyone else who was interested. > > So, if anyone wants to try to build something like this, send me a > note. > > Jordan > > On Jun 18, 2:11 pm, Vincent wrote: > > > Good question. Don't know. My guess is that if you just want to show > > the data in a view using data structures Django knows might be > > quicker. However, if you are going to process the data (graphs, > > summary stats, etc.) you might prefer to have numpy arrays to work > > with. > > > Vincent > > > On Jun 18, 2:02 pm, Blaine Booher wrote: > > > > Thanks for the link, Vincent. Is it easy to have the django view system > > > (generic views) use a PyTables data structure, or would that be a pretty > > > large feat by itself? > > > > Definitely worth considering, pyTables boasts great performance. > > > > Blaine > > > > On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > > > > > If you have a lot of data pytables may be an option (see link below). > > > > It can store data as numpy arrays directly rather than having to > > > > convert to such an array after reading from an sql database. > > > > >http://www.pytables.org > > > > > Vincent > > > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > > > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful > > > > > suggestions. > > > > > This is definitely a route I am going to explore. I'll post some > > > > > updates > > > > to > > > > > the list if anything comes out of it. > > > > > > Would you recommend importing the data into django models and tables, > > > > > or > > > > > keeping the db separate and independent? > > > > > > Blaine > > > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > > > > wrote: > > > > > > I think it would be really great if you can interface with R too. > > > > There`s a > > > > > > library to acces to R power from Python, and then from Django. > > > > > > > 2009/6/18 Nick Fishman > > > > > > > A friend of mine is using Django with matplotlib to create graphs > > > > > > from > > > > CSV > > > > > >> files, and it's turning out pretty well. I haven't yet tried > > > > googlecharts, > > > > > >> but it looks promising. > > > > > > >> The main difficulty he had with Matplotlib was transitioning to > > > > > >> Apache/mod_python after working with the Django development server. > > > > The > > > > > >> Matplotlib commands he was calling worked fine on his desktop, but > > > > then > > > > > >> complained of a non-existent X11 connection once he tried the code > > > > > >> on > > > > > >> Apache. The solution is one additional line of code, and is > > > > > >> detailed > > > > at > > > > >http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...similar > > > > problems. > > > > > > >> Nick > > > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > > > > wrote: > > > > > > >>> That sounds like a great idea. Something i have been meaning to > > > > > >>> try > > > > > >>> for a while but haven't gotten around to. > > > > > > >>> For a class website i did try to use matplotlib to create graphs > > > > > >>> from > > > > > >>> user provided data within django but couldn't figure out how to > > > > > >>> get > > > > it > > > > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > > > > instead > > > > > >>> (see link below). > > > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > > > >>> The following also looks nice. > > > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > > > >>> Hope you share code examples. > > > > > > >>> Vincent > > > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > > > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > > > >>> > > Hey guys, > > > > > >>> > > I have a lot of data from various testing samples (simple 2D > > > > > >>> > > plotting points) in .csv format. I am looking to design a > > > > > >>> > > system > > > > to > > > > > >>> > > manage things like plotting, calculations, selecting > > > > > >>> > > individual > > > > > >>> > > samples and
Re: Scientific Data Frontend with Django
Sorry, I forgot to mention the key point about codenode: it provides an interactive web page, which accepts direct Python (or Sage) commands, and includes the ability to render plots, etc. Access to a database could be provided through a Python API. --Rick On Jun 18, 10:13 pm, Rickwrote: > Hi, > > Have you looked at codenode (formerly known as knoboo)? This is a > distributed application with a Django frontend, and backends that can > run on a variety of platforms, including Google App Engine, or even > locally. > > --Rick > > [1]http://codenode.org/ > > On Jun 18, 1:28 pm, jordan wrote: > > > I've been wanting to do a similar kind of project for a long time. > > Just haven't found anyone else who was interested. > > > So, if anyone wants to try to build something like this, send me a > > note. > > > Jordan > > > On Jun 18, 2:11 pm, Vincent wrote: > > > > Good question. Don't know. My guess is that if you just want to show > > > the data in a view using data structures Django knows might be > > > quicker. However, if you are going to process the data (graphs, > > > summary stats, etc.) you might prefer to have numpy arrays to work > > > with. > > > > Vincent > > > > On Jun 18, 2:02 pm, Blaine Booher wrote: > > > > > Thanks for the link, Vincent. Is it easy to have the django view system > > > > (generic views) use a PyTables data structure, or would that be a pretty > > > > large feat by itself? > > > > > Definitely worth considering, pyTables boasts great performance. > > > > > Blaine > > > > > On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > > > > > > If you have a lot of data pytables may be an option (see link below). > > > > > It can store data as numpy arrays directly rather than having to > > > > > convert to such an array after reading from an sql database. > > > > > >http://www.pytables.org > > > > > > Vincent > > > > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > > > > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful > > > > > > suggestions. > > > > > > This is definitely a route I am going to explore. I'll post some > > > > > > updates > > > > > to > > > > > > the list if anything comes out of it. > > > > > > > Would you recommend importing the data into django models and > > > > > > tables, or > > > > > > keeping the db separate and independent? > > > > > > > Blaine > > > > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > > > > > > > > > > > wrote: > > > > > > > I think it would be really great if you can interface with R too. > > > > > There`s a > > > > > > > library to acces to R power from Python, and then from Django. > > > > > > > > 2009/6/18 Nick Fishman > > > > > > > > A friend of mine is using Django with matplotlib to create graphs > > > > > > > from > > > > > CSV > > > > > > >> files, and it's turning out pretty well. I haven't yet tried > > > > > googlecharts, > > > > > > >> but it looks promising. > > > > > > > >> The main difficulty he had with Matplotlib was transitioning to > > > > > > >> Apache/mod_python after working with the Django development > > > > > > >> server. > > > > > The > > > > > > >> Matplotlib commands he was calling worked fine on his desktop, > > > > > > >> but > > > > > then > > > > > > >> complained of a non-existent X11 connection once he tried the > > > > > > >> code on > > > > > > >> Apache. The solution is one additional line of code, and is > > > > > > >> detailed > > > > > at > > > > > >http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...problems. > > > > > > > >> Nick > > > > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > > > > > > >> > > > > > wrote: > > > > > > > >>> That sounds like a great idea. Something i have been meaning to > > > > > > >>> try > > > > > > >>> for a while but haven't gotten around to. > > > > > > > >>> For a class website i did try to use matplotlib to create > > > > > > >>> graphs from > > > > > > >>> user provided data within django but couldn't figure out how to > > > > > > >>> get > > > > > it > > > > > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > > > > > instead > > > > > > >>> (see link below). > > > > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > > > > >>> The following also looks nice. > > > > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > > > > >>> Hope you share code examples. > > > > > > > >>> Vincent > > > > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > > > > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > > > > >>> > > Hey guys, > > > > > > >>> > > I have a lot of data from various testing samples (simple > > > > > > >>> > > 2D > > > > > > >>> > > plotting points) in .csv format. I am looking to design a > > > > >
Re: Scientific Data Frontend with Django
Hi, Have you looked at codenode (formerly known as knoboo)? This is a distributed application with a Django frontend, and backends that can run on a variety of platforms, including Google App Engine, or even locally. --Rick [1] http://codenode.org/ On Jun 18, 1:28 pm, jordanwrote: > I've been wanting to do a similar kind of project for a long time. > Just haven't found anyone else who was interested. > > So, if anyone wants to try to build something like this, send me a > note. > > Jordan > > On Jun 18, 2:11 pm, Vincent wrote: > > > Good question. Don't know. My guess is that if you just want to show > > the data in a view using data structures Django knows might be > > quicker. However, if you are going to process the data (graphs, > > summary stats, etc.) you might prefer to have numpy arrays to work > > with. > > > Vincent > > > On Jun 18, 2:02 pm, Blaine Booher wrote: > > > > Thanks for the link, Vincent. Is it easy to have the django view system > > > (generic views) use a PyTables data structure, or would that be a pretty > > > large feat by itself? > > > > Definitely worth considering, pyTables boasts great performance. > > > > Blaine > > > > On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > > > > > If you have a lot of data pytables may be an option (see link below). > > > > It can store data as numpy arrays directly rather than having to > > > > convert to such an array after reading from an sql database. > > > > >http://www.pytables.org > > > > > Vincent > > > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > > > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful > > > > > suggestions. > > > > > This is definitely a route I am going to explore. I'll post some > > > > > updates > > > > to > > > > > the list if anything comes out of it. > > > > > > Would you recommend importing the data into django models and tables, > > > > > or > > > > > keeping the db separate and independent? > > > > > > Blaine > > > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > > > > wrote: > > > > > > I think it would be really great if you can interface with R too. > > > > There`s a > > > > > > library to acces to R power from Python, and then from Django. > > > > > > > 2009/6/18 Nick Fishman > > > > > > > A friend of mine is using Django with matplotlib to create graphs > > > > > > from > > > > CSV > > > > > >> files, and it's turning out pretty well. I haven't yet tried > > > > googlecharts, > > > > > >> but it looks promising. > > > > > > >> The main difficulty he had with Matplotlib was transitioning to > > > > > >> Apache/mod_python after working with the Django development server. > > > > The > > > > > >> Matplotlib commands he was calling worked fine on his desktop, but > > > > then > > > > > >> complained of a non-existent X11 connection once he tried the code > > > > > >> on > > > > > >> Apache. The solution is one additional line of code, and is > > > > > >> detailed > > > > at > > > > >http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...similar > > > > problems. > > > > > > >> Nick > > > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > > > > wrote: > > > > > > >>> That sounds like a great idea. Something i have been meaning to > > > > > >>> try > > > > > >>> for a while but haven't gotten around to. > > > > > > >>> For a class website i did try to use matplotlib to create graphs > > > > > >>> from > > > > > >>> user provided data within django but couldn't figure out how to > > > > > >>> get > > > > it > > > > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > > > > instead > > > > > >>> (see link below). > > > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > > > >>> The following also looks nice. > > > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > > > >>> Hope you share code examples. > > > > > > >>> Vincent > > > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > > > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > > > >>> > > Hey guys, > > > > > >>> > > I have a lot of data from various testing samples (simple 2D > > > > > >>> > > plotting points) in .csv format. I am looking to design a > > > > > >>> > > system > > > > to > > > > > >>> > > manage things like plotting, calculations, selecting > > > > > >>> > > individual > > > > > >>> > > samples and tests, etc. by creating a data manager with an > > > > intuitive > > > > > >>> > > interface. > > > > > > >>> > > My question: Has anyone used (or heard of using) a > > > > > >>> > > Django-powered > > > > > >>> > > application as a quick and powerful frontend to a scientific > > > > > >>> database? > > > > > > >>> > > It seems to me that the tools built into Django > > > > > >>> > > (administration > > > >
Re: Scientific Data Frontend with Django
I've been wanting to do a similar kind of project for a long time. Just haven't found anyone else who was interested. So, if anyone wants to try to build something like this, send me a note. Jordan On Jun 18, 2:11 pm, Vincentwrote: > Good question. Don't know. My guess is that if you just want to show > the data in a view using data structures Django knows might be > quicker. However, if you are going to process the data (graphs, > summary stats, etc.) you might prefer to have numpy arrays to work > with. > > Vincent > > On Jun 18, 2:02 pm, Blaine Booher wrote: > > > Thanks for the link, Vincent. Is it easy to have the django view system > > (generic views) use a PyTables data structure, or would that be a pretty > > large feat by itself? > > > Definitely worth considering, pyTables boasts great performance. > > > Blaine > > > On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > > > > If you have a lot of data pytables may be an option (see link below). > > > It can store data as numpy arrays directly rather than having to > > > convert to such an array after reading from an sql database. > > > >http://www.pytables.org > > > > Vincent > > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. > > > > This is definitely a route I am going to explore. I'll post some > > > > updates > > > to > > > > the list if anything comes out of it. > > > > > Would you recommend importing the data into django models and tables, or > > > > keeping the db separate and independent? > > > > > Blaine > > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > > > wrote: > > > > > I think it would be really great if you can interface with R too. > > > There`s a > > > > > library to acces to R power from Python, and then from Django. > > > > > > 2009/6/18 Nick Fishman > > > > > > A friend of mine is using Django with matplotlib to create graphs from > > > CSV > > > > >> files, and it's turning out pretty well. I haven't yet tried > > > googlecharts, > > > > >> but it looks promising. > > > > > >> The main difficulty he had with Matplotlib was transitioning to > > > > >> Apache/mod_python after working with the Django development server. > > > The > > > > >> Matplotlib commands he was calling worked fine on his desktop, but > > > then > > > > >> complained of a non-existent X11 connection once he tried the code on > > > > >> Apache. The solution is one additional line of code, and is detailed > > > at > > > >http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...have > > > similar problems. > > > > > >> Nick > > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > > > wrote: > > > > > >>> That sounds like a great idea. Something i have been meaning to try > > > > >>> for a while but haven't gotten around to. > > > > > >>> For a class website i did try to use matplotlib to create graphs > > > > >>> from > > > > >>> user provided data within django but couldn't figure out how to get > > > it > > > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > > > instead > > > > >>> (see link below). > > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > > >>> The following also looks nice. > > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > > >>> Hope you share code examples. > > > > > >>> Vincent > > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > > >>> > > Hey guys, > > > > >>> > > I have a lot of data from various testing samples (simple 2D > > > > >>> > > plotting points) in .csv format. I am looking to design a > > > > >>> > > system > > > to > > > > >>> > > manage things like plotting, calculations, selecting individual > > > > >>> > > samples and tests, etc. by creating a data manager with an > > > intuitive > > > > >>> > > interface. > > > > > >>> > > My question: Has anyone used (or heard of using) a > > > > >>> > > Django-powered > > > > >>> > > application as a quick and powerful frontend to a scientific > > > > >>> database? > > > > > >>> > > It seems to me that the tools built into Django (administration > > > site, > > > > >>> > > generic views & templates) would lend themselves quite easily > > > > >>> > > for > > > > >>> this > > > > >>> > > purpose... not to mention that I am already using NumPy and > > > > >>> MatPlotLib > > > > >>> > > to plot my data sets so the integration with these tools would > > > > >>> > > be > > > > >>> > > easy. > > > > > >>> > Yes, it should be. > > > > > >>> > You might even consider taking a representative subset of your > > > > >>> > datamodel and defining it in a sample Django project to see how > > > that > > > > >>> > goes. > > > > > >>> > -RD > > > > > > -- > > > > >
Re: Scientific Data Frontend with Django
Good question. Don't know. My guess is that if you just want to show the data in a view using data structures Django knows might be quicker. However, if you are going to process the data (graphs, summary stats, etc.) you might prefer to have numpy arrays to work with. Vincent On Jun 18, 2:02 pm, Blaine Booherwrote: > Thanks for the link, Vincent. Is it easy to have the django view system > (generic views) use a PyTables data structure, or would that be a pretty > large feat by itself? > > Definitely worth considering, pyTables boasts great performance. > > Blaine > > On Thu, Jun 18, 2009 at 2:32 PM, Vincent wrote: > > > If you have a lot of data pytables may be an option (see link below). > > It can store data as numpy arrays directly rather than having to > > convert to such an array after reading from an sql database. > > >http://www.pytables.org > > > Vincent > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. > > > This is definitely a route I am going to explore. I'll post some updates > > to > > > the list if anything comes out of it. > > > > Would you recommend importing the data into django models and tables, or > > > keeping the db separate and independent? > > > > Blaine > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > > wrote: > > > > I think it would be really great if you can interface with R too. > > There`s a > > > > library to acces to R power from Python, and then from Django. > > > > > 2009/6/18 Nick Fishman > > > > > A friend of mine is using Django with matplotlib to create graphs from > > CSV > > > >> files, and it's turning out pretty well. I haven't yet tried > > googlecharts, > > > >> but it looks promising. > > > > >> The main difficulty he had with Matplotlib was transitioning to > > > >> Apache/mod_python after working with the Django development server. > > The > > > >> Matplotlib commands he was calling worked fine on his desktop, but > > then > > > >> complained of a non-existent X11 connection once he tried the code on > > > >> Apache. The solution is one additional line of code, and is detailed > > at > > >http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...might > > have similar problems. > > > > >> Nick > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > > wrote: > > > > >>> That sounds like a great idea. Something i have been meaning to try > > > >>> for a while but haven't gotten around to. > > > > >>> For a class website i did try to use matplotlib to create graphs from > > > >>> user provided data within django but couldn't figure out how to get > > it > > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > > instead > > > >>> (see link below). > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > >>> The following also looks nice. > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > >>> Hope you share code examples. > > > > >>> Vincent > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > >>> > > Hey guys, > > > >>> > > I have a lot of data from various testing samples (simple 2D > > > >>> > > plotting points) in .csv format. I am looking to design a system > > to > > > >>> > > manage things like plotting, calculations, selecting individual > > > >>> > > samples and tests, etc. by creating a data manager with an > > intuitive > > > >>> > > interface. > > > > >>> > > My question: Has anyone used (or heard of using) a Django-powered > > > >>> > > application as a quick and powerful frontend to a scientific > > > >>> database? > > > > >>> > > It seems to me that the tools built into Django (administration > > site, > > > >>> > > generic views & templates) would lend themselves quite easily for > > > >>> this > > > >>> > > purpose... not to mention that I am already using NumPy and > > > >>> MatPlotLib > > > >>> > > to plot my data sets so the integration with these tools would be > > > >>> > > easy. > > > > >>> > Yes, it should be. > > > > >>> > You might even consider taking a representative subset of your > > > >>> > datamodel and defining it in a sample Django project to see how > > that > > > >>> > goes. > > > > >>> > -RD > > > > > -- > > > > Hernan Olivera --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
Thanks for the link, Vincent. Is it easy to have the django view system (generic views) use a PyTables data structure, or would that be a pretty large feat by itself? Definitely worth considering, pyTables boasts great performance. Blaine On Thu, Jun 18, 2009 at 2:32 PM, Vincentwrote: > > If you have a lot of data pytables may be an option (see link below). > It can store data as numpy arrays directly rather than having to > convert to such an array after reading from an sql database. > > http://www.pytables.org > > Vincent > > > > On Jun 18, 1:15 pm, Blaine Booher wrote: > > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. > > This is definitely a route I am going to explore. I'll post some updates > to > > the list if anything comes out of it. > > > > Would you recommend importing the data into django models and tables, or > > keeping the db separate and independent? > > > > Blaine > > > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera > wrote: > > > I think it would be really great if you can interface with R too. > There`s a > > > library to acces to R power from Python, and then from Django. > > > > > 2009/6/18 Nick Fishman > > > > > A friend of mine is using Django with matplotlib to create graphs from > CSV > > >> files, and it's turning out pretty well. I haven't yet tried > googlecharts, > > >> but it looks promising. > > > > >> The main difficulty he had with Matplotlib was transitioning to > > >> Apache/mod_python after working with the Django development server. > The > > >> Matplotlib commands he was calling worked fine on his desktop, but > then > > >> complained of a non-existent X11 connection once he tried the code on > > >> Apache. The solution is one additional line of code, and is detailed > at > > >> > http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...anyonewho > might have similar problems. > > > > >> Nick > > > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent > wrote: > > > > >>> That sounds like a great idea. Something i have been meaning to try > > >>> for a while but haven't gotten around to. > > > > >>> For a class website i did try to use matplotlib to create graphs from > > >>> user provided data within django but couldn't figure out how to get > it > > >>> to work smoothly. Ended up using Jacobs googlecharts templates > instead > > >>> (see link below). > > > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > > > >>> The following also looks nice. > > > > >>>http://code.google.com/p/google-chartwrapper/ > > > > >>> Hope you share code examples. > > > > >>> Vincent > > > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > > >>> > On Jun 17, 2:06 pm, blaine wrote: > > > > >>> > > Hey guys, > > >>> > > I have a lot of data from various testing samples (simple 2D > > >>> > > plotting points) in .csv format. I am looking to design a system > to > > >>> > > manage things like plotting, calculations, selecting individual > > >>> > > samples and tests, etc. by creating a data manager with an > intuitive > > >>> > > interface. > > > > >>> > > My question: Has anyone used (or heard of using) a Django-powered > > >>> > > application as a quick and powerful frontend to a scientific > > >>> database? > > > > >>> > > It seems to me that the tools built into Django (administration > site, > > >>> > > generic views & templates) would lend themselves quite easily for > > >>> this > > >>> > > purpose... not to mention that I am already using NumPy and > > >>> MatPlotLib > > >>> > > to plot my data sets so the integration with these tools would be > > >>> > > easy. > > > > >>> > Yes, it should be. > > > > >>> > You might even consider taking a representative subset of your > > >>> > datamodel and defining it in a sample Django project to see how > that > > >>> > goes. > > > > >>> > -RD > > > > > -- > > > Hernan Olivera > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
If you have a lot of data pytables may be an option (see link below). It can store data as numpy arrays directly rather than having to convert to such an array after reading from an sql database. http://www.pytables.org Vincent On Jun 18, 1:15 pm, Blaine Booherwrote: > Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. > This is definitely a route I am going to explore. I'll post some updates to > the list if anything comes out of it. > > Would you recommend importing the data into django models and tables, or > keeping the db separate and independent? > > Blaine > > On Thu, Jun 18, 2009 at 3:01 AM, Hernan Olivera wrote: > > I think it would be really great if you can interface with R too. There`s a > > library to acces to R power from Python, and then from Django. > > > 2009/6/18 Nick Fishman > > > A friend of mine is using Django with matplotlib to create graphs from CSV > >> files, and it's turning out pretty well. I haven't yet tried googlecharts, > >> but it looks promising. > > >> The main difficulty he had with Matplotlib was transitioning to > >> Apache/mod_python after working with the Django development server. The > >> Matplotlib commands he was calling worked fine on his desktop, but then > >> complained of a non-existent X11 connection once he tried the code on > >> Apache. The solution is one additional line of code, and is detailed at > >>http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-...anyone > >> who might have similar problems. > > >> Nick > > >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent wrote: > > >>> That sounds like a great idea. Something i have been meaning to try > >>> for a while but haven't gotten around to. > > >>> For a class website i did try to use matplotlib to create graphs from > >>> user provided data within django but couldn't figure out how to get it > >>> to work smoothly. Ended up using Jacobs googlecharts templates instead > >>> (see link below). > > >>>http://github.com/jacobian/django-googlecharts/tree/master > > >>> The following also looks nice. > > >>>http://code.google.com/p/google-chartwrapper/ > > >>> Hope you share code examples. > > >>> Vincent > > >>> On Jun 17, 4:21 pm, Rajesh D wrote: > >>> > On Jun 17, 2:06 pm, blaine wrote: > > >>> > > Hey guys, > >>> > > I have a lot of data from various testing samples (simple 2D > >>> > > plotting points) in .csv format. I am looking to design a system to > >>> > > manage things like plotting, calculations, selecting individual > >>> > > samples and tests, etc. by creating a data manager with an intuitive > >>> > > interface. > > >>> > > My question: Has anyone used (or heard of using) a Django-powered > >>> > > application as a quick and powerful frontend to a scientific > >>> database? > > >>> > > It seems to me that the tools built into Django (administration site, > >>> > > generic views & templates) would lend themselves quite easily for > >>> this > >>> > > purpose... not to mention that I am already using NumPy and > >>> MatPlotLib > >>> > > to plot my data sets so the integration with these tools would be > >>> > > easy. > > >>> > Yes, it should be. > > >>> > You might even consider taking a representative subset of your > >>> > datamodel and defining it in a sample Django project to see how that > >>> > goes. > > >>> > -RD > > > -- > > Hernan Olivera --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
Thank you Rajesh, Vincent, Nick, and Hernan for the helpful suggestions. This is definitely a route I am going to explore. I'll post some updates to the list if anything comes out of it. Would you recommend importing the data into django models and tables, or keeping the db separate and independent? Blaine On Thu, Jun 18, 2009 at 3:01 AM, Hernan Oliverawrote: > I think it would be really great if you can interface with R too. There`s a > library to acces to R power from Python, and then from Django. > > 2009/6/18 Nick Fishman > > A friend of mine is using Django with matplotlib to create graphs from CSV >> files, and it's turning out pretty well. I haven't yet tried googlecharts, >> but it looks promising. >> >> The main difficulty he had with Matplotlib was transitioning to >> Apache/mod_python after working with the Django development server. The >> Matplotlib commands he was calling worked fine on his desktop, but then >> complained of a non-existent X11 connection once he tried the code on >> Apache. The solution is one additional line of code, and is detailed at >> http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-serverfor >> anyone who might have similar problems. >> >> Nick >> >> >> On Wed, Jun 17, 2009 at 11:08 PM, Vincent wrote: >> >>> >>> That sounds like a great idea. Something i have been meaning to try >>> for a while but haven't gotten around to. >>> >>> For a class website i did try to use matplotlib to create graphs from >>> user provided data within django but couldn't figure out how to get it >>> to work smoothly. Ended up using Jacobs googlecharts templates instead >>> (see link below). >>> >>> http://github.com/jacobian/django-googlecharts/tree/master >>> >>> The following also looks nice. >>> >>> http://code.google.com/p/google-chartwrapper/ >>> >>> Hope you share code examples. >>> >>> Vincent >>> >>> On Jun 17, 4:21 pm, Rajesh D wrote: >>> > On Jun 17, 2:06 pm, blaine wrote: >>> > >>> > > Hey guys, >>> > > I have a lot of data from various testing samples (simple 2D >>> > > plotting points) in .csv format. I am looking to design a system to >>> > > manage things like plotting, calculations, selecting individual >>> > > samples and tests, etc. by creating a data manager with an intuitive >>> > > interface. >>> > >>> > > My question: Has anyone used (or heard of using) a Django-powered >>> > > application as a quick and powerful frontend to a scientific >>> database? >>> > >>> > > It seems to me that the tools built into Django (administration site, >>> > > generic views & templates) would lend themselves quite easily for >>> this >>> > > purpose... not to mention that I am already using NumPy and >>> MatPlotLib >>> > > to plot my data sets so the integration with these tools would be >>> > > easy. >>> > >>> > Yes, it should be. >>> > >>> > You might even consider taking a representative subset of your >>> > datamodel and defining it in a sample Django project to see how that >>> > goes. >>> > >>> > -RD >>> >>> >> >> >> > > > -- > Hernan Olivera > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
I think it would be really great if you can interface with R too. There`s a library to acces to R power from Python, and then from Django. 2009/6/18 Nick Fishman> A friend of mine is using Django with matplotlib to create graphs from CSV > files, and it's turning out pretty well. I haven't yet tried googlecharts, > but it looks promising. > > The main difficulty he had with Matplotlib was transitioning to > Apache/mod_python after working with the Django development server. The > Matplotlib commands he was calling worked fine on his desktop, but then > complained of a non-existent X11 connection once he tried the code on > Apache. The solution is one additional line of code, and is detailed at > http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-serverfor > anyone who might have similar problems. > > Nick > > > On Wed, Jun 17, 2009 at 11:08 PM, Vincent wrote: > >> >> That sounds like a great idea. Something i have been meaning to try >> for a while but haven't gotten around to. >> >> For a class website i did try to use matplotlib to create graphs from >> user provided data within django but couldn't figure out how to get it >> to work smoothly. Ended up using Jacobs googlecharts templates instead >> (see link below). >> >> http://github.com/jacobian/django-googlecharts/tree/master >> >> The following also looks nice. >> >> http://code.google.com/p/google-chartwrapper/ >> >> Hope you share code examples. >> >> Vincent >> >> On Jun 17, 4:21 pm, Rajesh D wrote: >> > On Jun 17, 2:06 pm, blaine wrote: >> > >> > > Hey guys, >> > > I have a lot of data from various testing samples (simple 2D >> > > plotting points) in .csv format. I am looking to design a system to >> > > manage things like plotting, calculations, selecting individual >> > > samples and tests, etc. by creating a data manager with an intuitive >> > > interface. >> > >> > > My question: Has anyone used (or heard of using) a Django-powered >> > > application as a quick and powerful frontend to a scientific database? >> > >> > > It seems to me that the tools built into Django (administration site, >> > > generic views & templates) would lend themselves quite easily for this >> > > purpose... not to mention that I am already using NumPy and MatPlotLib >> > > to plot my data sets so the integration with these tools would be >> > > easy. >> > >> > Yes, it should be. >> > >> > You might even consider taking a representative subset of your >> > datamodel and defining it in a sample Django project to see how that >> > goes. >> > >> > -RD >> >> > > > > -- Hernan Olivera --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
A friend of mine is using Django with matplotlib to create graphs from CSV files, and it's turning out pretty well. I haven't yet tried googlecharts, but it looks promising. The main difficulty he had with Matplotlib was transitioning to Apache/mod_python after working with the Django development server. The Matplotlib commands he was calling worked fine on his desktop, but then complained of a non-existent X11 connection once he tried the code on Apache. The solution is one additional line of code, and is detailed at http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-in-a-web-application-serverfor anyone who might have similar problems. Nick On Wed, Jun 17, 2009 at 11:08 PM, Vincentwrote: > > That sounds like a great idea. Something i have been meaning to try > for a while but haven't gotten around to. > > For a class website i did try to use matplotlib to create graphs from > user provided data within django but couldn't figure out how to get it > to work smoothly. Ended up using Jacobs googlecharts templates instead > (see link below). > > http://github.com/jacobian/django-googlecharts/tree/master > > The following also looks nice. > > http://code.google.com/p/google-chartwrapper/ > > Hope you share code examples. > > Vincent > > On Jun 17, 4:21 pm, Rajesh D wrote: > > On Jun 17, 2:06 pm, blaine wrote: > > > > > Hey guys, > > > I have a lot of data from various testing samples (simple 2D > > > plotting points) in .csv format. I am looking to design a system to > > > manage things like plotting, calculations, selecting individual > > > samples and tests, etc. by creating a data manager with an intuitive > > > interface. > > > > > My question: Has anyone used (or heard of using) a Django-powered > > > application as a quick and powerful frontend to a scientific database? > > > > > It seems to me that the tools built into Django (administration site, > > > generic views & templates) would lend themselves quite easily for this > > > purpose... not to mention that I am already using NumPy and MatPlotLib > > > to plot my data sets so the integration with these tools would be > > > easy. > > > > Yes, it should be. > > > > You might even consider taking a representative subset of your > > datamodel and defining it in a sample Django project to see how that > > goes. > > > > -RD > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
That sounds like a great idea. Something i have been meaning to try for a while but haven't gotten around to. For a class website i did try to use matplotlib to create graphs from user provided data within django but couldn't figure out how to get it to work smoothly. Ended up using Jacobs googlecharts templates instead (see link below). http://github.com/jacobian/django-googlecharts/tree/master The following also looks nice. http://code.google.com/p/google-chartwrapper/ Hope you share code examples. Vincent On Jun 17, 4:21 pm, Rajesh Dwrote: > On Jun 17, 2:06 pm, blaine wrote: > > > Hey guys, > > I have a lot of data from various testing samples (simple 2D > > plotting points) in .csv format. I am looking to design a system to > > manage things like plotting, calculations, selecting individual > > samples and tests, etc. by creating a data manager with an intuitive > > interface. > > > My question: Has anyone used (or heard of using) a Django-powered > > application as a quick and powerful frontend to a scientific database? > > > It seems to me that the tools built into Django (administration site, > > generic views & templates) would lend themselves quite easily for this > > purpose... not to mention that I am already using NumPy and MatPlotLib > > to plot my data sets so the integration with these tools would be > > easy. > > Yes, it should be. > > You might even consider taking a representative subset of your > datamodel and defining it in a sample Django project to see how that > goes. > > -RD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: Scientific Data Frontend with Django
On Jun 17, 2:06 pm, blainewrote: > Hey guys, > I have a lot of data from various testing samples (simple 2D > plotting points) in .csv format. I am looking to design a system to > manage things like plotting, calculations, selecting individual > samples and tests, etc. by creating a data manager with an intuitive > interface. > > My question: Has anyone used (or heard of using) a Django-powered > application as a quick and powerful frontend to a scientific database? > > It seems to me that the tools built into Django (administration site, > generic views & templates) would lend themselves quite easily for this > purpose... not to mention that I am already using NumPy and MatPlotLib > to plot my data sets so the integration with these tools would be > easy. Yes, it should be. You might even consider taking a representative subset of your datamodel and defining it in a sample Django project to see how that goes. -RD --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---