http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-tools/pyfc-tools_400.png

The fc_tools Python package contains some functions used in various packages I develop : fc-oogmsh, fc-hypermesh, fc-matplotlib4mesh, fc-mayavi4mesh, fc-simesh, fc-simesh-matplotlib, fc-simesh-mayavi, fc-vfemp1 ...

Description:

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 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:
    • vtk_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

Installation:

The fc_tools Python package is available from the Python Package Index, so to install/upgrade simply type

pip install fc_tools -U