Package: easy-data-analysis
OverviewThis package provides tools to analyze scientific research data, with a focus on plotting and statistical analysis. It is written in Python and was tested on Linux and MacOS.CompatibilityThis package is written in Python 3.6 and was tested on Linux and MacOS 13. It depends on the following libraries:matplotlib 3.1.3numpy 1.18.4pandas 0.25.3scipy 1.4.1InstallationIf you are new to installation of Python and its packages, atutorialis on the Python’s website.Installing Python libraries is most easily done withpip3, simply run in a terminal:pip3 install --upgrade <library>easy-data-analysisis packaged and available throughPyPI, you can install it by running in a terminal:pip3 install --upgrade easy-data-analysisSource distributions are also available here on GitHub, download the source and install it by running:pip3 install <path>Command Line Interfaceeasy-data-analysisis accessible through a command line interface which follows this syntax:eda <command> <subcommand> [arguments ...]Type this in your terminal for more information:eda --helpconfigurecommandeda configure <subcommand>configuremanages the default arguments of all commands, i.e. the behaviour of commands when you do not provide optional arguments.
Available subcommands:spectrum: configureeda plot spectrumkinetics: configureeda plot kineticsdefault: rollback to the original configuration (the one provided when you install this package)When you enter the configuration mode, instructions will be displayed before you are prompted for input. The name of the parameter is displayed followed by its current value between ( parentheses ).You have three possible actions (validate any of them by pressing <Enter>):keep the current value: leave the input field emptymodify the current value: type your input (if a list is expected, use space to separate values)enter a void value (no value): enter ‘none’ (without quotes)plotcommandeda plot <subcommand> [arguments ...]plotreads a CSV file and plots the data according to one of the following subcommands:spectrumkineticsspectrumsubcommandThis subcommand plots absorption spectra.eda plot spectrum [arguments ...]File names are positional arguments, they should be passed before optional argument. Optional arguments include:-lor--labelspecify labels on data for the plot legend--figure-sizespecify width and height in inches--xcolumnname of the column containing x-axis values--ycolumnname of the column containing y-axis values--xlabellabel on the plot’s x-axis--ylabellabel on the plot’s y-axis--xlimitspecify left and right values for x-axis limits--ylimitspecify bottom and top values for y-axis limits--skip-headernumber of rows to skip at the beginning of the file--legend-locationruneda plot spectrum-hfor more information--titlespecify the title of the plotFor example:eda plot spectrum file1.csv file2.csv -l experiment1 experiment2For more information:eda plot spectrum -hkineticssubcommandThis subcommand plots absorption kinetics curves. It can also plot an exponential model curve fitted on the data. Parameters of the model will be printed on the console.eda plot kinetics [arguments ...]File names are positional arguments and should be passed before optional arguments. Optional arguments include:-lor--labelspecify labels on data for the plot legend-mor--modelis a flag indicating an exponential model should be fitted on the data--figure-sizespecify width and height in inches--xcolumnname of the column containing x-axis values--ycolumnname of the column containing y-axis values--xlabellabel on the plot’s x-axis--ylabellabel on the plot’s y-axis--xlimitspecify left and right values for x-axis limits--ylimitspecify bottom and top values for y-axis limits--skip-headernumber of rows to skip at the beginning of the file--legend-locationruneda plot spectrum-hfor more information--titlespecify the title of the plotFor example:eda plot kinetics file1.csv file2.csv -l experiment1 experiment2 -mFor more information:eda plot kinetics -h