orlox / mkipp Goto Github PK
View Code? Open in Web Editor NEWKippenhahn plotter for MESA
License: GNU General Public License v2.0
Kippenhahn plotter for MESA
License: GNU General Public License v2.0
Greetings all:
I am using the codes written to make my plots but i did not know how to add the mixing regions and mlx_relr_regions, i have tried this, is it ok or not ? If not how i add them correctly ?
Also there is codes for abundances and HR diagrams ?
Thanks all
mx1_top
mx1_bot
mx2_top
mx2_bot
mixing_regions 20
burning_regions 20
mix_relr_regions
Hi,
I'm trying to use mkipp.py in order to plot some kippenhahn diagrams from my models. I used a multi-inlist structure for them so for each inlist file I have a LOGS directory with history.data and profile files. If I submit my data to the python program, for example the one that makes kippenhahn.png, then everything is fine. But if I try to do the same thing with the last one in the example.py, which yields kippenhahn6.png, then my plot is all blurred (like bigger pixels forming the plot)
. The only thing that I do is just use my data instead of those provided in the directory LOGS. I don't understand why this happens. I tried to set the integer after mixing_regions and mix_relr_regions equal to that one in the provided data (20) but doesn't seems to matter. If you could help with this issues I'd be very grateful, thank you very much for your time.
Best regards,
Guglielmo
Hello,
I am having an issue when trying to represent the Kippenhan diagram in radius instead of mass.
I understand that I have to add "burn_relr_regions 40" inside the history.columns file, but it seems to me that MESA doesn't recognise the burn_relr_regions parameter in the history.columns file, and returns:
bad history list name: burn_relr_regions
bad history list name: 40
Do you have an idea to solve this issue ?
Thank you very much
Hello! Trying to plot overshooting I found it was plotting semi-convection instead. I found in the "mesa/const/public/const_def.f90" that the assignments in the "mkipp.py" file did not match. By simply changing them it seems to work fine. (I'll upload the screenshots of the files where I found the assignments).
Hi
I am trying to get a kipp plot but i have this error.
Reading profile data
("Couldn't read profile LOGS/profile1.data", KeyError('eps_nuc',))
Traceback (most recent call last):
File "example.py", line 10, in
mkipp.kipp_plot(mkipp.Kipp_Args())
File "/home/mesa-saa/Downloads/mkipp-master/mkipp.py", line 189, in kipp_plot
xyz_data = get_xyz_data(profile_paths, kipp_args, xlims = xlims)
File "/home/mesa-saa/Downloads/mkipp-master/kipp_data.py", line 335, in get_xyz_data
y_data = prof.get('mass')
File "/home/mesa-saa/Downloads/mkipp-master/mesa_data.py", line 75, in get
return self.data[key]
AttributeError: Mesa_Data instance has no attribute 'data'
I don't know why ?
I have added mixing regions and mix_relr.
Can any one give me an advice
I used exactly the same code in the website example.py
Thanks !
Hi!!
Sorry, probably a stupid question.
In your readme you say "values such as eps_nuc need to be added to profile_columns.list as well", but apparently nothing in the list corresponds to a "eps_nuc" value. There are plenty that indeed have it in their name, but none of them when added change the error
"Couldn't read profile .../LOGS/profile1.data 'eps_nuc'"
Hi,
I am having slight trouble with convective regions in my plots.
In the attached plot, there is an extra convective and overshooting region, some of which also extends beyond the total mass of the star.
I have also encountered this problem with stars of other masses.
My history files include following data regarding mixing regions
mixing_regions 20
mix_relr_regions 20
burning_regions 20
Can you help me with what could be missing/wrong here?
Thanks,
Poojan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.