Skip to content

Set of tools developed to process the files generated by the Geneva stellar evolution code and generate plots.

Notifications You must be signed in to change notification settings

GESEG/GENEC_toolBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GENEC_toolBox

GENEC_toolBox is meant to help you handling the files generated by the Geneva stellar evolution code or the SYCLIST tool. It processes the files and provides the possibility to plot any variable as a function of any other one.

Requires:

  • numpy >= 1.10
  • scipy >= 0.19
  • matplotlib >= 2.0

CHANGES:

v. 2023.10.0:

  • new command show_where(var,value)
  • new command set_lineWidth(value in pt)
  • set_lineStyle accepts now the format (offset,(on,off,on,off,...))
  • new colour-blind-safe colour sequences
  • new argument num_colour in colourSequence, allowing for cycling on a shorter colour sequence

v. 8.3.2:

  • new variable star_flag which displays the star type for evolution files

v. 8.3.1:

  • new function dot_age(age) to print a dot at (a) given age(s) on any plot
  • plotif accepts direct string syntax (plotif='H1c>0.' or plotif=['Vsurf<200.','Vsurf>100.'])
  • logScale accepts new arguments grid,ls,lw,lc to print the grid on the plot (default grid=True,ls='-',lw=0.2,lc='0.80')
  • new function display_grid() to print a grid in the plot

v. 8.3.0:

  • change of syntax to be python2 AND python3 compatible ** use of print() instead of print ** use of list(d.keys()) instead of d.keys() ** same for d.items() and d.values() ** use of input() instead of raw_input() ** use of configparser instead of ConfigParser

** NB: input() and configparser are imported through the six module

v. 8.2.0:

  • Gaia colours are included
  • colour_corr can be applied to all mags and colours
  • new variable t_rel which goes from 0 to 1 during MS, from 1 to 2 during He-b, and from 2 to 3 during advanced stages. BEWARE: in Kippen it is not yet possible to draw the burning zones with this x axis.
  • xline and yline now accept argument lw=float for line width
  • old_hirschi format accepted for evolution and structure files
  • loadEFromDir accepts now wa=True
  • closest_line now displays the model for which the closest line is printed in case more than one model is plotted

v. 8.1.0:

  • loadE() can now read the evolution files generated by STAREVOL
  • wa loaded earlier, so Si included in limits of burning phases

v. 8.0.1:

  • if g and H_P are all 0, computes now their values before computing other stuff
  • num_deb and num_fin passed to read_wa()
  • correction of a bug that removed the last line from loadE()
  • addition of ProgPath in config file

v. 8.0: First public release, forked from Origin_Tools.

About

Set of tools developed to process the files generated by the Geneva stellar evolution code and generate plots.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages