estimating LN-type models from spiking data