<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="" style="word-wrap:break-word">
<div>Hi Romain</div>
<div><br class="">
</div>
<div>Attached is a little Matlab script to create a FLIM OME-TIFF.</div>
<div>The first section just creates some dummy data.</div>
<div>The second part (after the tic at line 28) uses the bio-formats Matlab plugin to write this to a file.</div>
<div>Note that the variable “delays’ can contain any strings not just the regularly spaced ones used here.</div>
<div><br class="">
</div>
<div>This is quite old code now so maybe someone from the core OME team could have a quick look and see if it’s still ok?</div>
<div>In particular this line:</div>
<div><br class="">
</div>
<div>
<div class="" style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(39,42,216)">
<span class="" style="font-size:13px; line-height:normal; color:rgb(0,0,0)">java.lang.System.setProperty(</span><span class="" style="">'javax.xml.transform.TransformerFactory'</span><span class="" style="font-size:13px; line-height:normal; color:rgb(0,0,0)">,
</span><span class="" style="">'com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl’</span><span class="" style="font-size:13px; line-height:normal; color:rgb(0,0,0)">);</span></div>
<div class="" style="margin:0px; font-size:11px; line-height:normal; font-family:Menlo; color:rgb(39,42,216)">
<span class="" style="font-size:13px; line-height:normal; color:rgb(0,0,0)"><br class="">
</span></div>
<div class="" style="margin:0px; line-height:normal">may no longer be required.</div>
<div class="" style="margin:0px; line-height:normal">Also we used to have problems when overwriting existing files. If this has since been addressed,</div>
<div class="" style="margin:0px; line-height:normal">then this section:</div>
<div class="" style="margin:0px; line-height:normal; font-family:Menlo"><br class="">
</div>
<div class="" style="margin:0px; line-height:normal">
<div class="" style="font-family:Menlo; margin:0px; line-height:normal"><span class="" style="font-size:11px; line-height:normal; color:rgb(187,44,162)">if</span><span class="" style=""> exist(outputPath,
</span><span class="" style="font-size:11px; line-height:normal; color:rgb(39,42,216)">'file'</span><span class="" style="">) ==
</span><span class="" style="font-size:11px; line-height:normal; color:rgb(39,42,216)">2</span></div>
<div class="" style="font-family:Menlo; margin:0px; line-height:normal"><span class="" style="">    delete(outputPath);</span></div>
<div class="" style="font-family:Menlo; margin:0px; line-height:normal"><span class="" style="">end</span></div>
<div class="" style="font-family:Menlo; margin:0px; line-height:normal"><span class="" style=""><br class="">
</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style="">May no longer be required.</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style="">Hope that helps.</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style=""><br class="">
</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style="">Best wishes.</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style=""><br class="">
</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style="">Ian</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style=""><br class="">
</span></div>
<div class="" style="margin:0px; line-height:normal"><span class="" style=""></span></div>
</div>
</div>
</div>
<div class="" style="word-wrap:break-word">
<div>
<div class="" style="margin:0px; line-height:normal">
<div class="" style="margin:0px; line-height:normal"><span class="" style=""></span></div>
</div>
<div class="" style="margin:0px; line-height:normal; font-family:Menlo"><br class="">
</div>
</div>
<div><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">
<div class="" style="word-wrap:break-word">
<div class="">
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 17 Jul 2018, at 12:38, Laine, Romain <<a href="mailto:r.laine@ucl.ac.uk" class="">r.laine@ucl.ac.uk</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_WordSection1" style="font-family:Helvetica; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Hi Ian,</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Many thanks.</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Code example would be great, please !</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
I am currently using MATLAB, is this a limitation?</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Cheers,</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Romain</div>
<div class="" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>