Abstract
When we obtain a slit spectrum from nebulous objects, we take a narrow pencil through the image. We must, then, use the model to predict the emission from this pencil beam and compare it with the relevant observations. We present a new scheme for modeling or coupling the photoionization code with 2D hydrodynamic simulation to predict the emission of axi-symmetric photoionized objects or shocked excited objects such as jets or PN halos.