EasyManua.ls Logo

PicoQuant MultiHarp 150 - Data File Formats; Interactive Mode File Format; TTTR Mode File Format

PicoQuant MultiHarp 150
94 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PicoQuantGmbH MultiHarpSoftwareV.3.1.0.0
8.2. Data File Formats
WhileformanypurposestheASCIIexportofhistogramstofilesortotheclipboardissufficientandeasy,you
alsomaywanttoaccesstheMultiHarpdatafilesviacustomprograms.Thissectionprovidesonlyabriefover-
viewonthefileformat.Fordetailspleaserefertotheonlinehelpfileavailableviathehelpmenu.
Toovercomecertainlimitationsofvariousdifferentformatsusedinthepast,PicoQuantnowusesaunifiedfile
format.Itisdesignedtobefuturepoofinthesensethatfilescreatedbyacurrentsoftwareversionstayvalidfor
futuresoftwarerevisionsand,moreover,filescreatedbyfuturesoftwareversionswillmostlikelystillberead-
ablebyoldersoftware,althoughtheymightcontaininformation,thatsoftwarecan'teven"know"about.Thisis
achievedbyusingataggedformat.Tagsidentifythedatatofollow,andgivethetype,lengthandevenmetain-
formation.Theexactlocationofanindividualiteminthefileisthenirrelevant.Versionrobustnessisgrantedas
longasversion-breakingchangestothesemanticsofagivenfieldareimplementedbyatagwithanewidenti-
fierratherthanexpandingtherangeorinterpretationoftheoldone.Thelistoftags(identifiers)andtheirinter-
pretationrulescanbekeptinatagdictionary.Withthisasaprecondition,thesoftwareonlyhastoshowtoler-
anceonmissingnon-mandatory(i.e.optional)content.
ThenewformatdefinitionunifiesPicoQuant'sexistingfileformatswhichindividuallyevolvedovermanyyears.
TheresultingnewTTTRfileformatwiththeextension*.ptu willbeusedforallcurrentandfutureTCSPC
productssupportingTTTRmodeandenrichesthemwithpowerfulnewfeatures.Similarly,ataggedfileformat
withtheextension*.phucoversthehistogramdataformatsofourcurrentandfutureTCSPCproducts.
Tosupportunderstandingoftheformatandimplementationofcustomsoftwareaccessingthesefiles,asetof
demosisprovidedinthesubfolder \Filedemoinyourchosensoftware installationfolder.Ifyouneedto
evaluatemoreheaderitemsthanthedemosdo,pleaserefertotheMultiHarponlinehelpfileavailableviathe
helpmenu.AfileformatrelatedHTMLhelpfileisalsoprovidedinthefiledemofolder.Itcontainsalistoftag
typesandatagdictionarythatexplainstheindividualitems.Notethatthedictionarycontainsmoreitemsthan
theMultiHarpsoftwareactuallyuses.Itisrecommendedtogobyaspecificfile,haveoneofthedemosreadit
andthenlookatthelistofheaderitemsyouget.YoucanalsousethePicoQuantFileInfoshellextensionthat
willbeinstalledbytheMultiHarpsoftwaresetuptoinspectindividualheaderitemsofa*.ptuor*.phufile.
Justright-clickonthefileinWindowsexplorerandselectProperties.
Despitetheintendedversiontoleranceofthetaggedformat,forconsistencyandsafeversioncheckingtheMul-
tiHarpdatafilesstillcarryaformatversionnumber,whichisnowcalledcontent versionandcurrentlyhasthe
stringvalue“1.0”.InordertoidentifyaMultiHarpdatafileasafilecreatedbyandtobeusedbythenativeMulti-
Harpsoftwarethereisatagassured content whichbeginswiththestring“MultiHarp“.Thereisalsoapairof
tagscreatornameandcreatorversionthatidentifythecreatingsoftware.Programmersofcustomsoftwarewrit-
ingsuchfilesMUSTUSETHEIROWNCREATORNAME.
Notethatdespiteourbesteffortstowardscompatibilityandversiontolerance,fileformatsinfuturesoftwarere-
leasesaresubjecttochangewithoutnotice.
8.2.1. Interactive Mode File Format
Thestandard MultiHarp histogramdatafilescreatedbythe MultiHarp softwareininteractive histogramming
mode(*.phu)aretaggedbinaryfileswhichcontainboththesetupparametersandtheactualhistogramdata.
Thelattercanbepresentmultipletimes,i.e.multiplemeasurementscanbestoredinonefile.Relevantsettings
arestoredforeachmeasurementseparately.InordertoidentifyaMultiHarpdatafileasafilecreatedbyandto
beusedbythenativeMultiHarpsoftware,aprogramreadinginthesefilescanreadthetagassured content
whichbeginswiththestring“MultiHarp“.However,apieceofsoftwareaimingsolelyatretrievingthehistogram
datacontentcan(andshould)betolerantaboutthistagandgoforthepurehistogramdata.Thistolerancewill
ensurecompatibilityforthefuture.Indeed,thedemosinthesubfolder\Filedemoinyourchoseninstallation
directoryarefollowingthistolerantapproach.Formoreinformationonindividualfiletagsandtheircontent,
pleaseconsulttheonlinehelpfileavailableviathehelpmenu.
8.2.2. TTTR Mode File Format
MultiHarpdatafilesfromT2andT3Mode(*.ptu)createdbytheMultiHarpsoftwarearetaggedbinaryfiles
whichcontainboththesetupparametersandtheactualeventdata.Therecanbeonlyonemeasurementper
file.Thesetupdatainthefileheaderissimilartothatinstandardinteractivemodefiles.Inordertoidentifya
MultiHarpdatafileasafilecreatedbyandtobeusedbythenativeMultiHarpsoftware,aprogramreadingin
thesefilescanreadthetagassured content whichbeginswiththestring“MultiHarp“.However,apieceofsoft-
Page84

Table of Contents