src/
amespahdbidlsuite_laboratory_spectrum__define.pro
Class to manage a laboratory spectrum.
Updated versions of the NASA Ames PAH IR Spectroscopic Database and more information can be found at: www.astrochemistry.org/pahdb.
Examples
Create and destroy an AmesPAHdbIDLSuite_Laboratory_Spectrum-instance:
IDL> lab = OBJ_NEW('AmesPAHdbIDLSuite_Laboratory_Spectrum')
IDL> lab->Set,data
IDL> lab->Plot
IDL> OBJ_DESTROY,lab
Author information
- Author
Dr. Christiaan Boersma
- Copyright
BSD licensed
- History
Changes:
05-18-2022 Use HISTOGRAM in PLOT and WRITE for speed-ups. Christiaan Boersma. 04-27-2015 Fixed INIT to call AmesPAHdbSuite_Plot initializer. Christiaan Boersma 01-28-2015 First version of the file. Christiaan Boersma.
Class description for AmesPAHdbIDLSuite_Laboratory_Spectrum
Inheritance
All ancestor classes: AmesPAHdbIDLSuite_Data IDL_Object AmesPAHdbIDLSuite_Plot
Properties
Properties in AmesPAHdbIDLSuite_Laboratory_Spectrum
- Data init
- Model init
- PAHdb init
- Type init
- Uids init
- Units init
- Version init
Routines
Routines from amespahdbidlsuite_laboratory_spectrum__define.pro
AmesPAHdbIDLSuite_Laboratory_Spectrum::Plot [, Wavelength=int] [, Stick=int] [, Fill=int] [, Oplot=int] [, Legend=int] [, Color=int] [, _EXTRA=struct]Plot the laboratory spectrum.
AmesPAHdbIDLSuite_Laboratory_Spectrum::Write [, Filename]Write the laboratory spectrum to file as an IPAC-table.
result = AmesPAHdbIDLSuite_Laboratory_Spectrum::Init( [Struct] [, Type=string] [, Version=string] [, Data=struct] [, PAHdb=pointer] [, Uids=long array (1D)] [, Model=string] [, Units=AmesPAHdb_Units_S struct])Create an AmesPAHdbIDLSuite_Laboratory_Spectrum-instance
Routine details
top source AmesPAHdbIDLSuite_Laboratory_Spectrum::Plot
PLOTTING
AmesPAHdbIDLSuite_Laboratory_Spectrum::Plot [, Wavelength=int] [, Stick=int] [, Fill=int] [, Oplot=int] [, Legend=int] [, Color=int] [, _EXTRA=struct]
Plot the laboratory spectrum.
Keywords
- Wavelength in optional type=int
Whether to set the abscissa units to wavelength
- Stick in optional type=int
Whether to plot the spectrum as sticks
- Fill in optional type=int
Whether to solid-fill the spectrum
- Oplot in optional type=int
Whether to draw over a previous plot
- Legend in optional type=int
Whether to show a legend
- Color in optional type=int
Color to plot the spectrum with
- _EXTRA in optional type=struct
Required for IDL's keyword-inheritance mechanism
top source AmesPAHdbIDLSuite_Laboratory_Spectrum::Write
OUTPUT
AmesPAHdbIDLSuite_Laboratory_Spectrum::Write [, Filename]
Write the laboratory spectrum to file as an IPAC-table.
Parameters
- Filename in optional type=string
Output filename
top source AmesPAHdbIDLSuite_Laboratory_Spectrum::Init
CLASS
result = AmesPAHdbIDLSuite_Laboratory_Spectrum::Init( [Struct] [, Type=string] [, Version=string] [, Data=struct] [, PAHdb=pointer] [, Uids=long array (1D)] [, Model=string] [, Units=AmesPAHdb_Units_S struct])
Create an AmesPAHdbIDLSuite_Laboratory_Spectrum-instance
Return value
AmesPAHdbIDLSuite_Laboratory_Spectrum-instance
Parameters
- Struct in optional type=struct
Data structure
Keywords
- Type in optional type=string
Type of Data
- Version in optional type=string
Versioning information
- Data in optional type=struct
Data structure
- PAHdb in optional type=pointer
Pointer to parsed database file
- Uids in optional type=long array (1D)
UIDs in Data
- Model in optional type=string
References
- Units in optional type=AmesPAHdb_Units_S struct
Units
File attributes
| Modification date: | Fri Oct 24 12:51:07 2025 |
| Lines: | 100 |
| Docformat: | rst rst |
![[attach.png]](../idldoc-resources/attach.png)