### Install from Source Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Installs NewareNDA after cloning the repository, typically for development purposes. ```bash cd NewareNDA pip install . ``` -------------------------------- ### Install Development Branch from GitHub Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Installs the latest development version directly from the GitHub repository. ```bash pip install git+https://github.com/d-cogswell/NewareNDA.git@development ``` -------------------------------- ### Install Latest Version from PyPI Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Installs the most recent stable release of NewareNDA from the Python Package Index. ```bash pip install --upgrade NewareNDA ``` -------------------------------- ### NewareNDA Command-Line Interface Help Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Displays the help message for the NewareNDA command-line tool, outlining available options and arguments. ```bash usage: NewareNDA-cli [-h] [-f {csv,excel,feather,hdf,json,parquet,pickle,stata}] [-s] [-v] [-l {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}] [-c {chg,dchg,auto}] in_file out_file Script for converting Neware NDA files to other file formats. The default output format is csv. Other formats may require installing additional packages. positional arguments: in_file input file out_file output file options: -h, --help show this help message and exit -f {csv,excel,feather,hdf,json,parquet,pickle,stata}, --format {csv,excel,feather,hdf,json,parquet,pickle,stata} -s, --software_cycle_number Generate the cycle number field to match old versions of BTSDA. -v, --version show version -l {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET}, --log_level {CRITICAL,FATAL,ERROR,WARN,WARNING,INFO,DEBUG,NOTSET} Set the logging level for NewareNDA -c {chg,dchg,auto}, --cycle_mode {chg,dchg,auto} Selects how the cycle is incremented. ``` -------------------------------- ### Configure Logging for Detailed Output Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Enables logging for NewareNDA to display additional test information such as active mass and remarks in the terminal. ```python import logging logging.basicConfig() ``` -------------------------------- ### Read Neware NDA File in Python Source: https://github.com/d-cogswell/newarenda/blob/master/README.md Demonstrates how to import the NewareNDA module and read an .nda file into a pandas DataFrame. ```python import NewareNDA df = NewareNDA.read('filename.nda') ``` -------------------------------- ### Run Regression Tests Source: https://github.com/d-cogswell/newarenda/blob/master/tests/README.md Execute the regression tests using pytest. Specify the directory containing nda files and the directory containing reference feather files. ```bash pytest --ndaDir=tests/nda --refDir=tests/reference tests ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.