mirror of
https://github.com/pim-n/pg-rad
synced 2026-02-02 14:33:09 +01:00
rename Object to BaseObject
This commit is contained in:
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user