def pixel_scale_from_data_resolution(data_resolution):
if data_resolution == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>elif data_resolution == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT:0.1><EOL><DEDENT>elif data_resolution == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>elif data_resolution == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>elif data_resolution == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>', data_resolution)<EOL><DEDENT>
Determine the pixel scale from a data resolution type based on real observations.

    These options are representative of LSST, Euclid, HST, over-sampled HST and Adaptive Optics image.

    Parameters
    ----------
    data_resolution : str
        A string giving the resolution of the desired data type (LSST | Euclid | HST | HST_Up | AO).