Skip to content

Python script to ease data collection for config files. #3

@Tyaedalis

Description

@Tyaedalis

I have created a simple script to help with the all the data collection from RPA,

You can find it in a gist, here.

Assumptions

This script assumes the following initial file structure:

./
./data/
./data_parser.py

Operation

  1. Choose an O/F ratio to work on.
  2. Use RPA to generate data for each chamber pressure (Pe) you need in increasing order, saving the results in ./data/ with an individual and also increasing name (e.g. 1.txt, 2.txt, etc.).
  3. Run the python script when you have all data you desire for the current O/F ratio.
  4. A file results.txt will appear in ./, containing all the key values formatted for the config.
  5. You must delete all files in ./data/ and ./results.txt before starting the next O/F ratio! I have not added any file handling other than reading the data files and writing the results.

I may update this with further improvements, but this saves so much time already. Just make sure to watch for any questionable data while doing this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions