Hi Britton,
Thank you so much for your detailed reply! I've read documentation about Light Cone Generator, Light Ray Generator and Absorption Spectrum. I also downloaded the dataset and ran the example scripts with it. There might be two typos here:
(2) When I ran make_light_ray.py I got an error
"OSError: [Errno 2] No such file or directory: 'halo_analysis/enzo_tiny_cosmology/RD0000'"
I need to do "cp -r enzo_tiny_cosmology halo_analysis/" to make it work.
Back to my enzo parameter file, which is attached. I correct that line and know that I don't have enough dataset, so I ran plan_cosmology_splice function to it but I got the following error:
Traceback (most recent call last):
File "plan_cosmology_splice.py", line 2, in <module>
my_splice = CosmologySplice('enzo_run/32cube.enzo', 'Enzo')
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/analysis_modules/cosmological_observation/cosmology_splice.py", line 44, in __init__
find_outputs=find_outputs)
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/convenience.py", line 131, in simulation
find_outputs=find_outputs)
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/frontends/enzo/simulation_handling.py", line 81, in __init__
find_outputs=find_outputs)
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/data_objects/time_series.py", line 350, in __init__
self._get_all_outputs(find_outputs=find_outputs)
File "/Users/madcpf/Documents/dev_yt/src/yt-hg/yt/frontends/enzo/simulation_handling.py", line 434, in _get_all_outputs
self.all_outputs = self.all_time_outputs + self.all_redshift_outputs
AttributeError: 'EnzoSimulation' object has no attribute 'all_time_outputs'
Since the Enzo I need to use is a modified version of Enzo 1.5, I don't know if that's the problem and how I could fix it. Could you please give me some advice?
Also I am a little bit confused about how light ray and absorption spectrum works and have a few questions:
(1) What's the initial spectrum before any absorption?
(2) Where does the light ray originate from? Is it shoot from a random position in the first dataset? Can we set it manually like on the surface of the box? Does it go out of the box and back into it until the next output redshift?
(3) In the output file lightraysolution.txt, what do the parameters(dl/box, Start x/y/z, End x/y/z) mean?
Sorry that I have so many questions... I wonder if there is some existing documents or paper that have a more detailed description.
Thank you again for your help! Have a nice weekend!
Pengfei