def link_seg_products(root='j021737-051344', filter='f140w'):
    """Symlink catalog products from the automatically-generated "ir" products to filenames for a given filter.
    
    Parameters
    ----------
    root : str
        Rootname of the mosaic images.
    
    filter : str
        Filter name.
    
    """
    import os
    os.system('ln -s {0}-ir_seg.fits {0}-{1}_seg.fits'.format(root, filter))
    os.system('ln -s {0}-ir.cat {0}-{1}.cat'.format(root, filter))
