eford / ExoplanetsSysSim.jl

Planetary Systems Simulation & Model of Kepler Mission for characterizing the Occurence Rates fo Exoplanets and Planetary Architectures
MIT License
1 stars 5 forks source link

Updates including Python scripts for plotting and some data files from model optimization #13

Closed hematthi closed 6 years ago

hematthi commented 6 years ago

This is a request to merge my updates since my last pull request, in Feb 26. I first did a pull request (to myself) from eford/ExoplanetsSysSim.jl/master to hematthi/ExoplanetsSysSim.jl/Clustered_P_R to get your changes, and did a quick run to check that they didn't break my code.

As you can see, I have added a lot of new files to my branch. They include the following items: 1) Python scripts in 'Plotting/' (7 files) 2) Text files in 'ACI/ACI/Model_Optimization/Clustered_P_R/All_params_random_weightednew_targs150060_maxincl80/' (100 files) 3) 'generate_systems_multiple.jl': like 'generate_systems', but for multiple iterations of the model with different parameters given a parameters file 4) 'optimize_blocks.jl': like 'optimize.jl', but optimizing over multiple blocks of parameters iteratively

I am not sure if you want items 1) and 2) in this repository, but I have included them in the 'clusters/' directory for now. Item 1) (python scripts for making all the figures that I make) is probably not too useful for anyone else but me since these scripts assume that the data files of the models are saved in specific directories (which are not included here). Item 2) includes 100 text files with the results of one set of optimization runs (so these files include the model parameters at each step of the optimizer, along with the individual and total distances, as well as other information regarding the initial parameters of the optimization). Admittedly, the way I formatted the data in these files is somewhat messy and difficult to parse. If you want, I can write a Python script to load these files and write new files with the information that we need (e.g. saving files with columns for model parameters and columns for distances).

Please let me know if you want me to remove or reorganize any of these files before merging.

Matthias