Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [science-iwg] Eclipse Datasets for Science

Hi all,

Ian wrote:
...
>    - suggestions for improvements.
> 
> * It would seem fairly straightforward to introduce TimeDataset and
> PeriodDataset classes to store instants in time and periods of elapsed
> time respectively.  Representing time and period in dedicated classes
> offers the opportunity for the respective APIs to provide additional
> methods (e.g. before, after, overlaps). Dedicated classes also reduces
> the chance of integration troubles caused by teams misunderstanding
> how, for example, an elapsed period is being represented in a
> DoubleDataset (one team presumes floating point seconds, another
> team presumes floating point millis).

This ambiguity can be resolved with defining units metadata.

> * Deeper support for data change listeners will allow the UI to update
> when data changes, or for a chain of dependent datasets & operations
> that dynamically update on changes to precedent datatset.

There hasn't been much thought on this type of usage for datasets: dynamically updating items in a source dataset and subsequently calculating the updates of its descendants. Perhaps this should be left to the processing operation infrastructure.

> 
> * I accidentally conflated the MetadataType and IMetadata types
> handled by ILazyDataset & IDataset whilst familiarising myself with
> the code.    Since IMetadata actually is an instance of MetadataType,
> I guess my confusion would be avoided by removing getMetadata()
> from IDataset (replacing it with getMetadata(IMetadata.class).

It was legacy that may be worth removing...

> 
> * As Peter Chang suggested in email yesterday, it may be worth
> removing the ROI classes - since these seem specific to one usage of
> IDataset.  Other applications/domains will have their own libraries of
> geometric shapes (such as the JTS libraries used in GeoTools [3])

I don't think I suggested removing it just other things but we can utterly strip down to just dataset and metadata.

Regards,
 Peter

> 
> Cheers,
> Ian
> 
> 
> [1]
> https://github.com/jonahkichwacoders/org.eclipse.dataset.examples#g
> etting-started
> [2] http://pastebin.com/raw.php?i=PeYGxRp1
> [3] http://docs.geotools.org/stable/userguide/library/jts/index.html
> 
> On 8 September 2015 at 23:27, Tracy Miranda
> <tracy@xxxxxxxxxxxxxxxx> wrote:
> > Following on from our previous email[1] Jonah has now created a fork
> > of DAWNSci's datasets which is available here:
> > https://github.com/jonahkichwacoders/org.eclipse.dataset
> >
> > Details of how you can try it out for yourself are here:
> > https://github.com/jonahkichwacoders/org.eclipse.dataset.examples
> >
> > In particular this fork:
> > * Is a subset of dataset functionality
> > * Has a p2 site available to try out the code
> > * p2 site includes source bundles
> > * Depends only on current Orbit approved bundles
> > * Has no pre-compiled JARs
> > * Works with Eclipse 4
> > * Works as a standalone JAR
> > * Includes all relevant tests from Dawn
> > * Buildable with maven/tycho (e.g. run mvn verify and get an update
> > site)
> > * using Travis CI as build machine
> >
> > Datasets features & functionality includes:
> >   * Various types: doubles, compound, complex, float, etc
> >   * Array creation
> >   * Universal functions e.g. sin, cos, exp
> >   * Linear algebra
> >   * Indexing & slicing
> >   * Regions of interest e.g. rectangular
> >
> > This fork is intended to be a springboard for SWG members to try out
> > DAWN datasets, and start to discuss how it applies to their projects.
> > We will maintain it in the short term.
> >
> >   When you next have an opportunity we hope all interested parties
> could
> >   1.Try it out
> >     - can you run the example?
> >     - can you integrate it with your codebase?
> >
> >   2. Get Involved in architecture discussions:
> >     - how does it fit within your framework?
> >     - what works well?
> >     - what's missing?
> >     - suggestions for improvements.
> >
> > Ultimately the goal is to have a standardised dataset API &
> > implementation shared by all.
> >
> > Regards,
> > Tracy
> >
> > [1] http://dev.eclipse.org/mhonarc/lists//science-iwg/msg01074.html
> >
> > _______________________________________________
> > science-iwg mailing list
> > science-iwg@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/science-iwg
> 
> 
> 
> --
> Ian Mayo
> Deep Blue C Technology Ltd
> - New technologies, implemented well
> _______________________________________________
> science-iwg mailing list
> science-iwg@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit https://dev.eclipse.org/mailman/listinfo/science-
> iwg

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



Back to the top