We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f7bff commit 85a4382Copy full SHA for 85a4382
src/stagpy/step.py
@@ -11,6 +11,7 @@
11
import typing
12
from abc import ABC, abstractmethod
13
from collections import abc
14
+from dataclasses import dataclass
15
from functools import cached_property
16
from itertools import chain
17
@@ -485,14 +486,14 @@ def bounds(self) -> tuple[float, float]:
485
486
"""
487
488
489
+@dataclass(frozen=True)
490
class RprofsInstant(Rprofs):
491
"""Radial profiles at a given step.
492
493
The `Step.rprofs` attribute is an instance of this class.
494
495
- def __init__(self, step: Step):
- self.step = step
496
+ step: Step
497
498
@cached_property
499
def _cached_extra(self) -> dict[str, Rprof]:
0 commit comments