mirror of
https://github.com/pim-n/pg-rad
synced 2026-02-02 14:33:09 +01:00
Compare commits
2 Commits
ead96eb723
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| dcc3be1c22 | |||
| 52b2eaaeb5 |
@ -1,7 +1,7 @@
|
||||
import math
|
||||
from typing import Self
|
||||
|
||||
class Object:
|
||||
class BaseObject:
|
||||
def __init__(
|
||||
self,
|
||||
x: float,
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import logging
|
||||
|
||||
from .objects import Object
|
||||
from .objects import BaseObject
|
||||
from pg_rad.isotopes import Isotope
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class PointSource(Object):
|
||||
class PointSource(BaseObject):
|
||||
_id_counter = 1
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user