.. include:: ../substitutions
.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEGraphSim

.. meta::
   :keywords: OEFPToNumpyArray

..  _OEGraphSim_OEFPToNumpyArray:

.. oe:function:: OEFPToNumpyArray

   .. attention::

      |PYTHONONLY|

   .. oe:api::

      def OEFPToNumpyArray(fp, numpyCheck: bool = True) -> "NumpyArray"
      def OEFPToNumpyArrayCpp(fp, numpyCheck: bool = True) -> "NumpyArray"

   Creates a NumPy array from the bits stored in an :ref:`OEFingerPrint <OEGraphSim_OEFingerPrint>`.
   `OEFPToNumpyArray`` is completely done through Python, while `OEFPToNumpyArrayCpp` creates the
   array in C++ and converts it into a NumPy array. The user is required to have NumPy installed in
   their Python environment.