rename Object to BaseObject

This commit is contained in:
Pim Nelissen
2026-02-02 11:33:20 +01:00
parent ead96eb723
commit 52b2eaaeb5
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import math import math
from typing import Self from typing import Self
class Object: class BaseObject:
def __init__( def __init__(
self, self,
x: float, x: float,

View File

@ -1,11 +1,11 @@
import logging import logging
from .objects import Object from .objects import BaseObject
from pg_rad.isotopes import Isotope from pg_rad.isotopes import Isotope
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class PointSource(Object): class PointSource(BaseObject):
_id_counter = 1 _id_counter = 1
def __init__( def __init__(
self, self,