-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add calibration parameters, recalc energies in graphs
- Loading branch information
1 parent
62cb41a
commit 574ba8e
Showing
18 changed files
with
414 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:21 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0017_record_metadata_file'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='record', | ||
name='calib', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='records', to='DOSPORTAL.detectorcalib'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:24 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0018_record_calib'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='detector', | ||
name='calib', | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
DOSPORTAL/migrations/0020_detector_detector_calibration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0019_remove_detector_calib'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='detector', | ||
name='Detector calibration', | ||
field=models.ManyToManyField(blank=True, help_text='Detector calibration', related_name='detectors', to='DOSPORTAL.detectorcalib'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:28 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0020_detector_detector_calibration'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='detectorcalib', | ||
name='cabib', | ||
), | ||
] |
22 changes: 22 additions & 0 deletions
22
DOSPORTAL/migrations/0022_remove_detector_detector_calibration_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0021_remove_detectorcalib_cabib'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='detector', | ||
name='Detector calibration', | ||
), | ||
migrations.AddField( | ||
model_name='detector', | ||
name='calibration', | ||
field=models.ManyToManyField(blank=True, help_text='Detector calibration', to='DOSPORTAL.detectorcalib'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
DOSPORTAL/migrations/0023_rename_calibration_detector_calib.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 20:49 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0022_remove_detector_detector_calibration_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='detector', | ||
old_name='calibration', | ||
new_name='calib', | ||
), | ||
] |
36 changes: 36 additions & 0 deletions
36
DOSPORTAL/migrations/0024_remove_detector_calib_detectorcalib_created_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 22:14 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0023_rename_calibration_detector_calib'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='detector', | ||
name='calib', | ||
), | ||
migrations.AddField( | ||
model_name='detectorcalib', | ||
name='created', | ||
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now), | ||
preserve_default=False, | ||
), | ||
migrations.CreateModel( | ||
name='DetectorToCalibration', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('calib', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='DOSPORTAL.detectorcalib')), | ||
('detector', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='DOSPORTAL.detector')), | ||
], | ||
options={ | ||
'ordering': ['calib__created'], | ||
}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 22:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0024_remove_detector_calib_detectorcalib_created_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='detector', | ||
name='calib', | ||
field=models.ManyToManyField(blank=True, help_text='Detector calibration', through='DOSPORTAL.DetectorToCalibration', to='DOSPORTAL.detectorcalib'), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
DOSPORTAL/migrations/0026_remove_detector_calib_delete_detectortocalibration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 22:26 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0025_detector_calib'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='detector', | ||
name='calib', | ||
), | ||
migrations.DeleteModel( | ||
name='DetectorToCalibration', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 22:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0026_remove_detector_calib_delete_detectortocalibration'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='detector', | ||
name='calib', | ||
field=models.ManyToManyField(blank=True, help_text='Detector calibration', to='DOSPORTAL.detectorcalib'), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
DOSPORTAL/migrations/0028_record_time_of_interenst_end_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 23:38 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0027_detector_calib'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='record', | ||
name='time_of_interenst_end', | ||
field=models.DurationField(blank=True, default=None, null=True, verbose_name='Time of interest end'), | ||
), | ||
migrations.AddField( | ||
model_name='record', | ||
name='time_of_interenst_start', | ||
field=models.DurationField(blank=True, default=None, null=True, verbose_name='Time of interest start'), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
...RTAL/migrations/0029_rename_time_of_interenst_end_record_time_of_interest_end_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2.11 on 2024-04-06 23:50 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('DOSPORTAL', '0028_record_time_of_interenst_end_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='record', | ||
old_name='time_of_interenst_end', | ||
new_name='time_of_interest_end', | ||
), | ||
migrations.RenameField( | ||
model_name='record', | ||
old_name='time_of_interenst_start', | ||
new_name='time_of_interest_start', | ||
), | ||
] |
Oops, something went wrong.