Hi Dr. Hummels,
I have come across your code, Trident, which produces synthetic quasar spectra. I want to generate a normalized quasar spectrum with for example two absorbers at redshifts of z1, z2 with say absorption due to CIV, SiIV, NV, OVI with known parameters for b, log(N).
I was going through a google groups thread (https://groups.google.com/forum/#!topic/trident-project-users/M-hD2rVMvOc) that offered some insight into how to go about it, which is as follows:
>>> import yt>>> import trident>>> fn = <SOME DATASET>
>>> ds = yt.load(fn)>>> ray_start = ds.domain_left_edge>>> ray_end = ds.domain_right_edge>>> line_list = ['H', 'C', 'N', 'O', 'Mg']>>> ray = trident.make_simple_ray(ds, start_position=ray_start,
end_position=ray_end, data_filename='ray.h5',lines=line_list)>>> ad = ray.all_data()>>> print(ad['redshift'])
For my problem, I would have to use the following command with appropriate changes for line_list
ray = trident.make_compound_ray(fn, simulation_type='Enzo', near_redshift=0.0, far_redshift=0.1, ftype='gas', lines=line_list)However, I don't seem to understand how I would be able to incorporate two absorbers, along with the parameters of b, log(N) and the ionization state of ion?
Thank you for the development of such a fantastic code. Hoping to hear back from you
Regards,