These are chat archives for jeff-regier/Celeste.jl

12th
Feb 2016
Kyle Barbary
@kbarbary
Feb 12 2016 20:51
The sources associated with a given tile seem to be determined in ModelInit.get_tiled_image_sources.However, I'm having trouble finding where we determine the tiles associated with a given source. Any pointers?
Kyle Barbary
@kbarbary
Feb 12 2016 21:34
Ping @jeff-regier or @rgiordan
Ryan
@rgiordan
Feb 12 2016 22:06
Sorry, I was in a meeting
There is not a single function that does that, though it's not hard
Kyle Barbary
@kbarbary
Feb 12 2016 22:08
No prob, I just wasn't sure what triggers gitter to send email notifications.
Ryan
@rgiordan
Feb 12 2016 22:08
The ModelParams object (mp) is intialized with a tile_sources data structure
To find out which tiles affect a given source, just loop through that data structure looking for the sources you want
An example of this can actually be found in ModelInit.limit_to_object_data
in which I populate the vector "relevant_sources"
And next tile I'll ust
use github_markdown
:)
Kyle Barbary
@kbarbary
Feb 12 2016 22:10
Thanks!