Parses boltztrap.intrans mainly to extract the value of scissor applied to the bands or some other inputs
        Args:
            path_dir: (str) dir containing the boltztrap.intrans file
        Returns:
            intrans (dict): a dictionary containing various inputs that had been used in the Boltztrap run.

def parse_intrans(path_dir):
        """
        Parses boltztrap.intrans mainly to extract the value of scissor applied to the bands or some other inputs
        Args:
            path_dir: (str) dir containing the boltztrap.intrans file
        Returns:
            intrans (dict): a dictionary containing various inputs that had been used in the Boltztrap run.
        """
        intrans = {}
        with open(os.path.join(path_dir, "boltztrap.intrans"), 'r') as f:
            for line in f:
                if "iskip" in line:
                    intrans["scissor"] = Energy(float(line.split(" ")[3]),
                                                "Ry").to("eV")
                if "HISTO" in line or "TETRA" in line:
                    intrans["dos_type"] = line[:-1]
        return intrans