diff --git a/sunglass/materials.py b/sunglass/materials.py index da4a16b..96e7774 100644 --- a/sunglass/materials.py +++ b/sunglass/materials.py @@ -96,7 +96,6 @@ def print_properties(self, *args): if __name__ == "__main__": - valid_materials = sorted(solcore.ParameterSystem().database.sections()) valid_materials.remove("Immediate Calculables") valid_materials.remove("Final Calculables") diff --git a/sunglass/plot.py b/sunglass/plot.py index 298a5a2..1c2eac8 100644 --- a/sunglass/plot.py +++ b/sunglass/plot.py @@ -54,7 +54,6 @@ def plot_dark_iv(self, data: pd.DataFrame) -> None: """ for name in data.columns.values: - # Plotting tunnel junctions IV if "J_TJ" in name: label = "Isolated {}".format(name.split("_")[1]) @@ -121,7 +120,6 @@ def plot_light_iv(self, data: pd.DataFrame, spectrum: LightSource) -> None: self.outputs["eta"] = self.outputs["mpp"] / spectrum.power_density for name in data.columns.values: - # Plotting tunnel junctions IV. Actually, we need to review this as TJ have # opposite polarity than # normal J and therefore should look more like Rs. diff --git a/sunglass/save_data.py b/sunglass/save_data.py index b7eca3a..ed0ab16 100644 --- a/sunglass/save_data.py +++ b/sunglass/save_data.py @@ -46,7 +46,6 @@ def save_qe_data(root_filename, output): qe_data = OrderedDict({"WL": output.wavelength, "R": output.reflected}) for j in range(len(output)): - # All layers and junctions have defined a fraction of absorbed light, except # some TJ and 2D kind of # junctions. We try to get that, first. @@ -84,7 +83,6 @@ def save_bandstructure_data(root_filename, output, task): tsk = "{}_data".format(task) for j in output.junction_indices: - # Only junctions have information on bandstructure, and not all the models, so # we take that into account. try: