[ome-devel] BD Reader Datetimes of Images / Bio-formats

Garbett, Shawn P shawn.garbett at Vanderbilt.Edu
Fri Feb 25 16:37:45 GMT 2011


On 2/25/11 10:11 AM, "Melissa Linkert" <melissa at glencoesoftware.com> wrote:

Hi Shawn,

> > MetadataTools.setDefaultCreationDate(store, tiffs[well][0], i);
>
> Isn't this only storing the first date? The goal is to have the timestamp for each image in the tiff stack, not just the first one. The problem is that sometimes an experiment is stopped and restarted, and the actual datetime stamp of each image is needed.

That will set the acquisition date for each well to be the last modified date
of the first file in the well.

Using the setPlaneDeltaT method in loci.formats.meta.MetadataStore, we
could set the timestamp for each plane in milliseconds since the first
plane was acquired.  Keep in mind though that this may not always be
accurate, especially if the timestamps on the files were changed.  I
wasn't able to find the timestamps anywhere in the metadata files, but maybe
you know of somewhere to find that information.

Well, we have to rely on the timestamps on the files (specifically the creation date). It's the only source of this information from the BD Pathway at present. It's not the best source, but it's the only source. You configure it to acquire say every 5 minutes, then it gets as close as it can. Sometimes even experiments are stopped and restarted, this throws off the statistics.

setPlaneDeltaT sounds like a fine solution to me-as long as the information is stored and it's recoverable.

Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20110225/220fab7a/attachment.html>


More information about the ome-devel mailing list