Functions

tulips.tulips Module

Functions

add_inset_hrd(m[, time_index, ax, axins, ...])

Add inset HRD.

add_ring_annotations(ax, rmax[, ...])

Add concentric circles.

add_time_label(age, ax[, time_label_loc, ...])

Add time label.

animated_hist_comp(m1, m2[, raxis, label1, ...])

animated_hist_comp_test(m1, m2[, fig, ax, ...])

Plot two models together.

check_time_indeces(time_ind, star_age)

Check time indices.

chem_elem_notation(elem_list)

Make LateX formatted elements

chemical_profile(m[, time_ind, ...])

Creates chemical profile diagram.

colorbar(mappable[, ax, size, pad, cax, ...])

create_elem_colorbars(isotope_list, ax[, ...])

Create colorbar for isotopes

energy_and_mixing(m[, time_ind, show_mix, ...])

Create energy and mixing diagram.

find_closest(ary, value)

find_profile(m[, time_ind])

Load closest MESA profile.

get_ffmpeg_exe()

Get the ffmpeg executable file.

get_isotopes(m)

Get list of isotopes

get_isotopes_from_prof(prof)

Get list of isotopes

inset_axes(parent_axes, width, height[, ...])

Create an inset axes with a given width and height.

make_axes_locatable(axes)

make_pie_composition_plot(ax, prof[, ...])

Create composition plot.

make_property_plot(ax, prof[, ...])

Create property plot.

makedirs(name [[, mode, exist_ok])

Super-mkdir; create a leaf directory and all intermediate ones.

num_cbar_elem(num_elems[, min_cbar_elem, ...])

Calculate number of colorbars

perceived_color(m[, time_ind, raxis, fps, ...])

Create perceived color diagram of a stellar model.

property_profile(m[, time_ind, ...])

Create property profile diagram.

rescale_time(indices, m[, time_scale_type])

Rescale the time.

set_axis_ticks_and_labels(ax[, raxis, ...])

Format axis ticks.

teff2rgb(t_ary)

Convert effective temperature to rgb colors.

too_dark(color_ary)

Check if text too dark