Closed cefeida42 closed 1 year ago
Hi @cefeida42 , this looks awesome! A few minor comments:
plt.ylim
and plt.scatter
like this:
plt.ylim(max(lc_data['ztf_magpsf'])+0.1*(max(lc_data['ztf_magpsf'])-min(lc_data['ztf_magpsf'])),
min(lc_data['ztf_magpsf'])-0.1*(max(lc_data['ztf_magpsf'])-min(lc_data['ztf_magpsf'])))
plt.scatter(lc_data['ant_mjd'][lc_data['ztf_fid']==2], lc_data['ztf_magpsf'][lc_data['ztf_fid']==2],
c='red', alpha=0.5, label=r'$r$ band')
plt.scatter(lc_data['ant_mjd'][lc_data['ztf_fid']==1], lc_data['ztf_magpsf'][lc_data['ztf_fid']==1],
c='green', alpha=0.5, label=r'$g$ band')
FileNotFoundError: [Errno 2] No such file or directory: './results/acf.dcf'
since I do not have an output directory called './results'. Can you add an empty folder called 'results' to the PhotoReverberationMappingAGN directory?Thanks!
Hi @jacquesalice!
Thank you for your detailed and prompt review! I made all of the suggested corrections. Additionally, I included all the files that the notebook generates when running from beginning to end in full, to mitigate potential errors. The folder structure should be good now. Let me know if you have more suggestions.
Thank you! I'm sure @rnikutta will also want to take a look through the notebook before we merge it to production.
Really a great NB @cefeida42 , many thanks for contributing it to DL! I'm sending my comments in an email in a second. Please simply push another commit with the changes to amend this PR, and we'll merge it from here.
@rnikutta, thank you so much for the detailed review, I addressed all of your comments. Let me know if there is anything else I need to change or add. Happy to contribute to the fantastic Astro Data Lab :)
Hello,
this is a contribution PhotometricReverberationMappingAGN (notebook and its auxiliary files). It is a tutorial for performing photometric reverberation mapping. The notebook shows how to download or generate light curve data and it introduces the tools and steps needed for this type of analysis.
Some info regarding the contribution: