Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,29 +37,31 @@ Generate a **detailed and structured** response based on the given **science con
|
|
37 |
2. **Physical Parameters**: Outline the relevant physical parameters (e.g., mass, temperature, composition).
|
38 |
3. **Observables**: Specify the key observables required to study the science context.
|
39 |
4. **Description of Desired Observations**: Detail the observational techniques, instruments, or approaches necessary to gather relevant data.
|
40 |
-
5. **
|
41 |
-
-
|
42 |
-
-
|
43 |
-
-
|
44 |
-
-
|
45 |
-
-
|
|
|
46 |
|
47 |
#### **Table Format**
|
48 |
|
49 |
-
|
|
50 |
-
|
51 |
|
52 |
|
53 |
-
#### **
|
54 |
-
- **Wavelength
|
55 |
-
- **
|
56 |
-
- **
|
|
|
57 |
- **Exclusion of Existing Facilities:** **Do not reference** existing observatories such as JWST, Hubble, or ground-based telescopes. This work pertains to a **new mission**.
|
58 |
-
- **Spectral Resolution Constraint:** Limit spectral resolution (**R**) to the range **10,000 – 50,000
|
59 |
|
60 |
**Use this table format as a guideline, generate a detailed table dynamically based on the input.**. Ensure that all values align with the provided constraints and instructions.
|
61 |
|
62 |
-
Ensure the response is **structured, clear, and
|
63 |
"""
|
64 |
|
65 |
def encode_text(text):
|
|
|
37 |
2. **Physical Parameters**: Outline the relevant physical parameters (e.g., mass, temperature, composition).
|
38 |
3. **Observables**: Specify the key observables required to study the science context.
|
39 |
4. **Description of Desired Observations**: Detail the observational techniques, instruments, or approaches necessary to gather relevant data.
|
40 |
+
5. **Observations Requirements Table**: Generate a table relevant to the Science Objectives, Physical Parameters, Observables and Description of Desired Observations with the following columns:
|
41 |
+
- Wavelength Band: Should only be UV, Visible and Infrared).
|
42 |
+
- Instrument: Should only be Imager, Spectrograph, Polarimeter and Coronagraph).
|
43 |
+
- Necessary Values: The necessary values or parameters (wavelength range, spectral resolution where applicable, spatial resolution where applicable).
|
44 |
+
- Desired Values: The desired values or parameters (wavelength range, spectral resolution where applicable, spatial resolution where applicable).
|
45 |
+
- Justification: A scientific explanation of why these observations are important.
|
46 |
+
- Comments: Additional notes or remarks regarding each observation.
|
47 |
|
48 |
#### **Table Format**
|
49 |
|
50 |
+
| Wavelength Band | Instrument | Necessary Values | Desired Values | Justification | Comments |
|
51 |
+
|----------------------|------------------------------------|------------------------------------|---------------------------------|---------------------------------|-------------------|
|
52 |
|
53 |
|
54 |
+
#### **Guiding Constraints (Exclusions & Prioritization)**
|
55 |
+
- **Wavelength Band Restriction:** Only include **UV, Visible, and Infrared** bands.
|
56 |
+
- **Instrument Restriction:** Only include **Imager, Spectrograph, Polarimeter, and Coronagraph**.
|
57 |
+
- **Wavelength Limits:** Prioritize wavelengths between **100 nanometers (nm) and 3 micrometers (μm)**.
|
58 |
+
- **Allowed Instruments:** **Only include** observations from **direct imaging, spectroscopy, and polarimetry.** **Exclude** transit and radial velocity methods.
|
59 |
- **Exclusion of Existing Facilities:** **Do not reference** existing observatories such as JWST, Hubble, or ground-based telescopes. This work pertains to a **new mission**.
|
60 |
+
- **Spectral Resolution Constraint:** Limit spectral resolution (**R**) to the range **10,000 – 50,000**, ensuring that all parameters remain scientifically consistent.
|
61 |
|
62 |
**Use this table format as a guideline, generate a detailed table dynamically based on the input.**. Ensure that all values align with the provided constraints and instructions.
|
63 |
|
64 |
+
Ensure the response is **structured, clear, and observation requirements table follows this format**. **All included parameters must be scientifically consistent with each other.**
|
65 |
"""
|
66 |
|
67 |
def encode_text(text):
|