This application is designed to aid scientists in the early-stages of designing an experiment with animal models or other subjects. Utilizing the program, one can fine-tune how many measurements they will want to use based on expected blocking factors, standard deviations, and treatments. The application takes these user inputs and calculates dependent variable values on various Gaussian distributions. Additionally, advanced features include rapid pre-experiment power calculations through in-house complete general linear model F-test and pairwise t-test analysis. Please refer to the wiki for specifics on app implementation and mathematical theory behind the application's algorithms.
This application can be downloaded in multiple ways.
- Download and save the .app file from the most current release
- Run the app by double-clicking (if "unknown developer" warning, go to System Preferences > Security & Privacy > Open Anyway)
- Note: this is only for macOS, however Windows users can utilize the pyinstaller version that has been uploaded
- Download and save the folder named "Data Modeler Windows" from the most current release and unzip the folder
- Open the folder and look for the executable application named "Data Modeler"
- Double-click on it. If a command line window pops up, you do not have to worry about it, just ignore it.
- Requirements
- Download and install Python 3.5+
- Clone the project:
git clone https://github.com/peytoncchen/Data-Modeler-Py.git
- Or: download the source code into a zip file from the green button labelled 'Code'
- (Optional but highly recommended): Make sure you are in the source code directory and set up a python virtual environment with
python3 -m venv NameOfVenv
- To activate the virtual environment:
source venv/bin/activate
- Make sure you are in the source code directory and install all necessary dependencies:
pip install -r requirements.txt
- Run!
python3 datamodeler.py
- Follow all steps from "Running via source code with Python 3"
- Run py2app
python3 freezingfiles/setup.py py2app -A
- Note, without the -A, py2app will freeze the app into stand-alone form.
- With this, you will need to re-run the command if any new files are added but not if changes are made to existing files.
- In my opinion, this is the best method, as you can run the application without the command line, it is more flexible than the completely frozen application, and you get the cute mouse icon.
Please refer to this document for basic, quick-start documentation.
- Python 3
- Various packages: scipy, numpy, pandas, PyQt5, xlsxwriter, statsmodels, py2app and pyinstaller
The code for this application is open source and can be downloaded and modified as you wish.
Please report any bugs or feedback to [email protected]
For the various versions and releases available, see the releases page.
This application is licensed under the GNU GPL (General Public License) v3.0. See LICENSE.txt for more details.
- Peyton Chen
- Caitlin Maikawa, Stanford Bioengineering Ph.D.
- for all the help with complex statistics and components of UI design
- Eric Appel, Assistant Professor of Material Science and Engineering at Stanford University
- Appel Lab (hence the little apple in the icon!)
- Stanford Department of Bioengineering Research Experience for Undergraduates (REU) Program, Summer 2020