Skip to content

math domain error #593

Description

@RoyWilliams

Something wrong with the distance modulus

math domain error

File "/home/ubuntu/lasair-lsst/pipeline/filter/alert/features/sherlock.py", line 49, in run
distances = redshiftToDistance(z)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/lasair-lsst/pipeline/filter/alert/features/redshift.py", line 67, in redshiftToDistance
DMOD = 5math.log10(DL_Mpc1e6)-5 #Distance modulus determined from luminosity distance
^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions