معرفی شرکت ها


datathief-0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Simple utility for extracting data from images
ویژگی مقدار
سیستم عامل -
نام فایل datathief-0.3
نام datathief
نسخه کتابخانه 0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Cliff Kerr
ایمیل نویسنده info@sciris.org
آدرس صفحه اصلی https://github.com/sciris/datathief
آدرس اینترنتی https://pypi.org/project/datathief/
مجوز -
========= Datathief ========= Small utility for retrieving data from figures. Inspired by the `Java package of the same name <https://datathief.org/>`__. Installation ------------ The usual: ``pip install datathief``. Usage ----- Unlike the Java DataThief package and similar online tools, here the user **manually** annotates the figure with the data points of their choosing. This makes it more transparent how the data are being read and makes the results more reproducible. However, it might be annoying for a large amount of data. If you want to extract a lot of data, or extract data from a continuous line, you are better off using the original Java DataThief package, or one of the `many <http://www.graphreader.com/>`__ `online <https://automeris.io/WebPlotDigitizer/>`__ `tools <http://markummitchell.github.io/engauge-digitizer/>`__ that do exactly this. To use this tool, first annotate the plot by adding a **single pixel** at the start and end of the x-axis in a specified color that does not exist anywhere else in the image (default color: pure blue). Do the same for the y-axis (default color: pure red). Then one pixel for each data point you wish to extract (default color: pure green). This function will then return the x and y coordinates of each data point. It will warn you if too many or too few pixels are detected. For example, running this code: .. code:: python import datathief as dt filename = 'du_fig1a_annotated.png' xlim = [-10, 20] ylim = [0, 15] data = dt.datathief(filename, xlim=xlim, ylim=ylim) On this input (NB, you might need to zoom in to see the individual pixels): |Input| Extracts the data for this plot: |Output| See the examples folder for more information. (Figure courtesy Du et al., https://www.medrxiv.org/content/10.1101/2020.02.19.20025452v4) More questions? Email info@sciris.org. .. |Input| image:: examples/du_fig1a_annotated.png .. |Output| image:: examples/example-output.png


نیازمندی

مقدار نام
- numpy
- matplotlib
- sciris


نحوه نصب


نصب پکیج whl datathief-0.3:

    pip install datathief-0.3.whl


نصب پکیج tar.gz datathief-0.3:

    pip install datathief-0.3.tar.gz