venerdì 14 dicembre 2012

How to incorporate plots in python shell

With IPythonQt is possible to have plots directly inside the shell.

This is the command and the proper flags:
ipython qtconsole --pylab=inline








lunedì 3 dicembre 2012

Fonts missing in latex plots

In Ubuntu 12.10 (and possibly also other linux distributions), plots included into latex documents may not have fonts displayed correctly.
The problem seems to be due to some conflict in font settings.
To solve this, just use the flag -j0 in dvips. In the following the correct compiling procedure:

latex file.tex
dvips -j0 file.dvi
ps2pdf file.ps

martedì 7 febbraio 2012

Latex compilation error "This NFSS system isn't set up properly" in Temaker under Ubuntu 11.10

The latex compilation fails returning this error:
"This NFSS system isn't set up properly. "
and in the case of a math formula:
Math formula deleted: Insufficient symbol fonts.

SOLUTION:
install the following package:
texlive
and its dependencies:
telive-fonts-recommended
texlive-latex-base






venerdì 27 gennaio 2012

Fors is born


Finally, after finishing my PhD, I decided to put down in code some idea writing FORS, a python control software designed to be easily integrated into the currently operated and the future adaptive optics systems.

The software includes and summarizes some of the main features, tested using numerical modeling and simulations during the last 4 years, to increase the performance of the MCAO systems for the next generation 4m class solar telescopes.

Coding the software I have experienced many problems and difficulties in particular with the GUI library with sometimes is not well documented.
All in all, at the end of the day, I acquired new skills and I would like (in the next days) to describe through the pages of this blog how to build a GUI in python.