@@ -1,2 +1,2 | |||
|
1 | [{"fields": {"name": "49_920MHz_clock60MHz_F0MHz_12_25_2", "clock": "60", "mult": 5, "fch": 49.92, "filter_fir": 6, "filter_2": 10, "filter_5": 1, "speed": 0}, "model": "jars.jarsfilter", "pk": 1}, | |
|
1 | [{"fields": {"name": "49_920MHz_clock60MHz_F0MHz_12_25_2", "clock": "60", "mult": 5, "fch": 49.92, "fch_decimal": 721554505, "filter_fir": 6, "filter_2": 10, "filter_5": 1, "speed": 0}, "model": "jars.jarsfilter", "pk": 1}, | |
|
2 | 2 | ] No newline at end of file |
@@ -83,6 +83,7 class JARSConfiguration(Configuration): | |||
|
83 | 83 | acq_profiles = models.PositiveIntegerField(verbose_name='Acquired Profiles', validators=[MaxValueValidator(5000)], default=400) |
|
84 | 84 | profiles_block = models.PositiveIntegerField(verbose_name='Profiles Per Block', validators=[MaxValueValidator(5000)], default=400) |
|
85 | 85 | fftpoints = models.PositiveIntegerField(verbose_name='FFT Points',default=16) |
|
86 | cohe_integr = models.PositiveIntegerField(verbose_name='Coherent Integrations',validators=[MinValueValidator(1)], default=30) | |
|
86 | 87 | incohe_integr = models.PositiveIntegerField(verbose_name='Incoherent Integrations',validators=[MinValueValidator(1)], default=30) |
|
87 | 88 | filter = models.ForeignKey(JARSfilter, on_delete=models.CASCADE, null=True) |
|
88 | 89 | spectral_number = models.PositiveIntegerField(verbose_name='# Spectral Combinations',validators=[MinValueValidator(1)], default=1) |
@@ -8,7 +8,7 $("#id_exp_type").change(function() { | |||
|
8 | 8 | |
|
9 | 9 | function RawDataOrPData(){ |
|
10 | 10 | var type = $("#id_exp_type").val(); |
|
11 | //spectral_number = $("#id_spectral_number") | |
|
11 | incohe_integr = $("#id_incohe_integr") | |
|
12 | 12 |
|
|
13 | 13 | fftpoints = $("#id_fftpoints") |
|
14 | 14 | save_ch_dc = $("#id_save_ch_dc") |
@@ -19,7 +19,7 function RawDataOrPData(){ | |||
|
19 | 19 | all_spec_button = $("#all_spectral_button") |
|
20 | 20 | |
|
21 | 21 | if (type == 0) { |
|
22 |
|
|
|
22 | $(incohe_integr).attr('readonly', true); | |
|
23 | 23 |
|
|
24 | 24 | $(fftpoints).attr('readonly', true); |
|
25 | 25 | $(save_ch_dc).attr('disabled', true); |
@@ -31,7 +31,7 function RawDataOrPData(){ | |||
|
31 | 31 | $(all_spec_button).attr('disabled', true); |
|
32 | 32 | } |
|
33 | 33 | else { |
|
34 |
|
|
|
34 | $(incohe_integr).attr('readonly', false); | |
|
35 | 35 |
|
|
36 | 36 | $(fftpoints).attr('readonly', false); |
|
37 | 37 | $(save_ch_dc).attr('disabled', false); |
General Comments 0
You need to be logged in to leave comments.
Login now