The fc_tools Python package contains some functions used in various packages I develop : fc-oogmsh, fc-bench, fc-hypermesh, fc-matplotlib4mesh, fc-mayavi4mesh, fc-simesh, fc-simesh-matplotlib, fc-simesh-mayavi, fc-vfemp1 ...
The fc_tools Python package contains some modules:
- colors module with the main functions:
- selectColors: pick colors that are maximally perceptually distinct,
- str2rgb: get RGB color triple from X11, svg, CSS4, xkcd or Matlab colors name.
- display_all_colors: display all colors with their names from X11, svg, CSS4, xkcd or Matlab colors name.
- Matplotlib module with the main functions:
- set_axes_equal : make axes of 3D plot have equal scale ,
- DisplayFigures: distributes and resizes a set of figures on screen,
- SaveAllFigsAsFiles: Save all matplotlib figures as files.
- Mayavi module with the main function:
- SaveAllFigsAsFiles: Save all Mayavi figures as files.
- Sys module with the main functions:
- getArch: get system architecture (Windows, Linux, MacOS)
- getOSinfo: returns dictionary containing informations on the operating system
- getRAM: returns the RAM in Mo
- getCPUinfo: returns dictionary containing informations on the CPU
The fc_tools Python package is available from the Python Package Index, so to install/upgrade simply run
pip install fc_tools -U