[yt-users] Problem using covering_grid as data_source for the photon_simulator

John Zuhone jzuhone at gmail.com
Wed May 25 09:34:55 PDT 2016


Hi Markus,

Can you send a script so I can figure out what you are trying to do exactly?

You probably need ds.region, but if you send a script I will know for sure.

John Z

> On May 25, 2016, at 12:23 PM, Markus Haider <markus.haider at uibk.ac.at> wrote:
> 
> Hi,
> 
> I wanted to use the photon simulator for mock x-ray observations on single cells and line of sights using single cells. For this I wanted to select the cells using covering_grid, but then I get the following error:
> 
> photon_simulator.py is doing
> delta_min, delta_max = data_source.quantities.extrema("d%s"%ax)
> and the result is
> YTDataSelectorNotImplemented: Data selector 'covering_grid' not implemented.
> 
> But maybe covering_grid is not the right thing for what I had in mind, how would you select the cells to pass as data_source to the photon simulator?
> 
> Cheers,
> Markus
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list