Metadata-Version: 2.1
Name: fcsy
Version: 0.9.0
Summary: A package for processing FCS files
Home-page: https://github.com/nehcgnay/fcsy
Author: yc
Author-email: yang.chen@scilifelab.se
License: MIT license
Keywords: fcsy
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst


.. image:: https://img.shields.io/pypi/v/fcsy.svg
    :target: https://pypi.python.org/pypi/fcsy
.. image:: https://readthedocs.org/projects/fcsy/badge/?version=latest
    :target: https://fcsy.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status
.. image:: https://img.shields.io/pypi/l/fcsy.svg
    :target: https://github.com/nehcgnay/fcsy/blob/master/LICENSE
.. image:: https://img.shields.io/pypi/dm/fcsy?style=flat-square
    :target: https://img.shields.io/pypi/dm/fcsy
.. image:: https://github.com/nehcgnay/fcsy/workflows/Python%20package/badge.svg
    :target: https://github.com/nehcgnay/fcsy/workflows/Python%20package
.. image:: https://github.com/nehcgnay/fcsy/workflows/Upload%20Python%20Package/badge.svg
    :target: https://github.com/nehcgnay/fcsy/workflows/Upload%20Python%20Package



fcsy: A package for processing FCS files.
-----------------------------------------


Installation
------------

.. code-block:: console

    $ pip install fcsy


Usage
-----

Read a fcs

.. code-block:: python

    from fcsy import DataFrame

    df = DataFrame.from_fcs('sample1.fcs', channel_type='multi')


Write a dataframe to fcs

.. code-block:: python

    import numpy as np
    from fcsy import DataFrame

    df = DataFrame(np.random.rand(10, 4), columns=list('ABCD'))
    df.to_fcs('sample1.fcs')


Read fcs channels without data

.. code-block:: python

    from fcsy import read_channels

    read_channels('sample1.fcs', channel_type='multi')


Read events number

.. code-block:: python

    from fcsy import read_events_num

    read_events_num('sample1.fcs')

Documentation
-------------
The documentation is available on https://fcsy.readthedocs.io/

License
-------
-   Free software: MIT license


History
-------
Consult the Releases_ page for fixes and enhancements of each version.

.. _Releases: https://github.com/nehcgnay/fcsy/releases





=======
History
=======

Consult the Releases_ page for fixes and enhancements of each version.

.. _Releases: https://github.com/nehcgnay/fcsy/releases

