Code for ISM and IGM infleunce on FRB profiles simulation