def METHOD_NAME(cls, ddb, ebands_kpath, ebands_kmesh=None, **kwargs) -> EphPlotter:
    """
    Build the object from the ddb file, invoke anaddb to get phonon properties.
    This entry point is needed to have phonon plots with LO-TO splitting
    as AbiPy will generate an anaddb input with the different q --> 0 directions
    required in phbands.plot to plot the LO-TO splitting correctly.
    Args:
        ddb: |DdbFile| or filepath.
        ebands_kpath: |ElectronBands| with energies on a k-path or filepath.
        ebands_kpath: (optional) |ElectronBands| with energies on a k-mesh or filepath.
        kwargs: Passed to anaget_phbst_and_phdos_files
    """
    ddb = DdbFile.as_ddb(ddb)
    phbst_file, phdos_file = ddb.anaget_phbst_and_phdos_files(**kwargs)
    return cls(ebands_kpath, phbst_file, phdos_file, ebands_kmesh=ebands_kmesh)