P3Session constructor adapted to calling directly from octave