wright-group / WrightTools

Tools for loading, processing, and plotting multidimensional spectroscopy data.
http://wright.tools
MIT License
17 stars 8 forks source link

Thoughts: data.translate_to_txt -- translate .txt back to Data? #1147

Open kameyer226 opened 8 months ago

kameyer226 commented 8 months ago

Hello,

I don't think anyone brought this up , and I would think the reason is because of the loss of information involved. But seeing as how Github refuses to deal with wt5 file attachments, I thought it useful to promote a discussion on the possibility of taking the text dump of wt.data from translate_to_txt and re-encapsulating it into a Data object.

We know it to be lossy, but it seems that this procedure is a good way to disseminate data.

A thought was to append some form of information indicating that the re-encapsulated object was "stripped" of information via this process such that future users would know that any future wt5 files are not the originals.

ddkohler commented 8 months ago

@kameyer226 , rather than this approach, here are a couple alternative approaches for when you want to discuss specific errors working up data:

untzag commented 7 months ago

I think you can upload zip files to GitHub.