!!!{{{EIS_XSTUDY}}}
[{TableOfContents}]
!!About
The {{{eis_xstudy}}} routine is actually a component of the EIS Planning Tool, and is used in both the construction of a timeline ({{{eis_mk_plan}}}) — to load something from the OSDB (official studies database) — and in {{{eis_mk_study}}}, used to select a study for modification in your own personal database before submission to the OSDB.

To look at the OSDB, ensure that you have already run the command

{{{print,fix_zdbase(/eis)}}}

to instruct the planning tool to read from the OSDB.
%%information To look at your personal database instead (where you keep studies that you're designing) just replace {{{/eis}}} with {{{/user}}} in the above line.%%

!!Walk-through

!The {{{eis_xstudy}}} interface

Below is an example of the widget that appears in SolarSoft when you type {{{eis_xstudy}}}:
[{Image src='EIS_XSTUDY.png'}]

!Study list
The top panel contains a list of all the studies in the database.
I've cheated a little bit, in the sense that I've already scrolled down the list in the upper panel and chosen Study ID #267, the catchily-named {{{JS_CH_140x256p}}}

At the top of this widget there are two black triangular arrows. These can be used to reduce (down arrow) or increase (up arrow) the number of lines shown in the study list. (This can be especially useful if your screen is a lot smaller than the default widget size.) This looks like so:

[{Image src='EIS_XSTUDY_shrunk.png'}]

There's also a button at the top of the widget marked ''View/Edit Study Description''. I'll come back to that in a while.

!Information bar
In the status bar immediately beneath the study list is a sort of information bar: here you can see important information such as the amount of data that the study is expected to generate in kbits (this is approximate, since compression factors vary a little from dataset to dataset), the duration in hours minutes and seconds (fixed, but with a little margin added), and the consequent rate of telemetry from EIS to the Hinode Data Recorder (DR).

The volume here is probably one of the most important factors, since it determines how many times (if any!) a study can be run during an OP Period — see [SbandObservingInfo] for what this means in practice.

!Study description area
Below this information bar, there's a text area that contains the ''Study Description''. This is information which the study author has included, indicating what they originally intended the study to be used for

%%information One of the nice things about EIS is that you can recycle a study already designed by someone else for a similar — or even different — purpose, without having to go through this design step.%%

To read the study description in full, either scroll down this panel with the scroll bar, or go the the button at the top marked ''View/Edit Study Description'' (I told you I'd come back to it). This opens up a window like this:
[{Image src='Viewing_Study_Description.png' }]

As you can see, the study contains information for the person using this study, if it is to be used for the original proposal. 

There is also often information in the study description added by the study validator, the person who tests the study on the EIS demonstration model at MSSL, before it enters the OSDB. This information can include things like ''warnings'' — ''e.g.'', information about how not to use the study — and so on.

To get rid of this window, just click on ''Quit''.

!Search methods
If you have some idea about the study you're looking for, ''e.g.'' it has ''EL'' in the name, or it was written by George Doschek, you can use the search facility to save you time.

Below the Study Description panel, you can search on one or more fields, namely ''Acronym'' (the name of the study), ''Title'' (confusingly, a description of the study), or ''Author'' (self-explanatory). Since I've mentioned George Doschek, let's try a search for studies he's designed. I don't know any other Doscheks on the EIS team, so I'll just use his surname:
[{Image src='Search_Doschek.png' }]

You can see that this results in four studies showing up, each of which was authored by someone called Doschek.

You can clear the search fields by clicking ''Clear'' on the right-hand side.

Changing the ''Study Type'' drop-down list on the right from ''Science & Engineering'' to ''Science'' excludes all engineering-type studies from our search (although this tends to be more useful when looking for specifice engineerings studies hidden amongst the forest of science studies).

!Raster panel

Below the search area is the ''Raster'' panel, where you can start to look at the details of the study's execution. Let's take another example to look at this.

For the purposes of this example, my memory's a bit shaky, so I just remember that the study I'm interested in has the letters ''CH'' in the acronym. Searching for these letters in the ''Acronym'' field produces these results:
[{Image src='Search_CH_sample.png'}]
and I recognise the study I'm interested in: PRY_CH_density. I then click on that study in the list, to highlight it. 

This also makes the raster panel go from being empty to showing the rasters in the selected study (if no study is highlighted, {{{eis_xstudy}}} can't know which rasters to display).

A study is essentially a package, a programme that contains a pre-defined order of executable rasters. {{{eis_xstudy}}} allows you to look at the rasters that a study contains, as well as their details. You'll see that Study #268 {{{PRY_CH_density}}} contains raster ID #257 {{{CH_density}}}. In most practical cases, studies contain only one raster. But the study is what is actually makes it onto the ''timeline'' (schedule) for EIS.

%%information It's important not to confuse raster and study IDs when requesting observations. Please always use the __Study ID or full study acronym__.%%

%%information Note that since engineering studies are created by hand, rather than through the planning tool, it's not possible to view their contents (such as number of exposures, or exposure time) in the Raster panel.%%