ObservationCustom function

Create an instance of custom Observation class.