fcsparser icon indicating copy to clipboard operation
fcsparser copied to clipboard

Save to fcs?

Open nodice73 opened this issue 7 years ago • 6 comments
trafficstars

Hello,

I've been using your module and it is great. I was wondering if you plan to support saving back to fcs format, or if you have any recommendations for how to do this.

nodice73 avatar Dec 18 '17 23:12 nodice73

I wasn't planning on adding support, but would happily merge any pull requests that add support for exporting fcs files. It's not very difficult to do -- you basically have to "reverse" the reading step

If you're interested in giving it a try I'd recommend reading the FCS 3.0 specification. You can use numpy built-ins to write the numeric data and then pre-pend the relevant header information to the file.

Then if the FCS reader can read the file it'll probably be readable by most other software

eyurtsev avatar Dec 19 '17 15:12 eyurtsev

If you're interested in giving it a try I'd recommend reading the FCS 3.0 specification.

Should it be 3.0 or 3.1?

nodice73 avatar Dec 19 '17 17:12 nodice73

I think either works -- the specifications are mostly backwards compatible if i remember correctly

eyurtsev avatar Dec 19 '17 19:12 eyurtsev

Has this feature been implemented? I would love to use it!

julianeweller avatar Apr 08 '19 03:04 julianeweller

Nope -- we're open to PRs if you're interested in implementing it :)

eyurtsev avatar Apr 08 '19 14:04 eyurtsev

Note that there is fcswrite (https://github.com/ZELLMECHANIK-DRESDEN/fcswrite/). It isn't feature complete (pull-requests welcome), but it should already be sufficient for most applications.

paulmueller avatar Sep 04 '19 07:09 paulmueller