Tim Stevens wrote:
>>Does analysis load the whole data model into memory each time it starts?
>>could it do some lazy loading e.g. load proxies for top level objects
>>such as spectra peak lists which provide basic information etc until
>>they are used?
>>
>>
>
>Gary,
>
>Analysis does not load all the data at the start. - Lazy loading is built
>into the Python XML API. This is done at the package level.
>
>
can you remind me what a package is here its not something i deal with
in the interface so I am a bit hazy...
>However, the Nmr package which Analysis necessarily has to load can be
>very big. We have considered making separate packages out of peak lists,
>but decided against because everything is so tightly coupled - vast
>numbers of cross links to resonances and the like. In any case, the normal
>functioning of Analysis (e.g. setting a shift) would soon trigger loads of
>the peak lists. Better to have the wait at the start when you expect it.
>
>
>
So to ask a more detailed question as I am still not quite clear here.
Consider if I had a project with lot of data that I mainly refer to once
in a while but don't use most of the time, will the experiment
information in the peak lists and peaks for those datasets all be loaded
at startup and what inter-relations are there between these data?
e.g.
experimentA->datsourceA->peakListA->peakA1,peakA2,peakA3
experimentB->datsourceB->peakListB->peakB1,peakB2,peakB3
experimentX->datsourceX->peakListX->peakX1,peakX2,peakX3
e.g what operations on dataSourceX and its peak lists and peaks will
affect experiments A and B and their attached data?
or is it that things like shift lists and their standard deviations
require access to all the data when for example shift averages and
standard deviations are updated?
are there any other cases where similar problems occur which I haven't
though about?
regards
gary
>[snip]
>
>T.
>
>
>
--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
email: [log in to unmask] Fax +44-113-2331407
-------------------------------------------------------------------
|